Rendering of Jquery smarttable for tables to add features like pagination,sorting,searching,etc. More...
Public Member Functions | |
includeCode ($code) | |
render ($tableidarray, $paramsarray) | |
generate_js ($tableid, $params) |
Rendering of Jquery smarttable for tables to add features like pagination,sorting,searching,etc.
Definition at line 32 of file smarttable.class.php.
generate_js | ( | $ | tableid, | |
$ | params | |||
) |
Generated the JS for a single table ID and parameters
$tableid | Table ID of the table which should be converted into SmartTable | |
$params | Associated parameters |
Definition at line 82 of file smarttable.class.php.
includeCode | ( | $ | code | ) |
Includes the required CSS and Javascript files
$code | The code around which the CSS and JS file includes codes should be appended. |
Definition at line 39 of file smarttable.class.php.
render | ( | $ | tableidarray, | |
$ | paramsarray | |||
) |
Main function of this class. Takes an array of table IDs and associated parameters array and generated the output HTML code.
$tableidarray | Array of Table IDs which should be converted into SmartTable | |
$paramsarray | 2D Array of parameters associated with each table ID in the $tableidarray |
Definition at line 66 of file smarttable.class.php.