07975 997026 enquiries@ harpanet.com
This file 'overrides' the standard CI HTML Table Library, extending its flexibility and functionality.
The MY_Table Library provides extended functions that enable you to auto-generate HTML tables from arrays or, more usefully, directly from database result sets.
The standard CodeIgniter Table class does not provide flexible tools for working with database result sets.
MY_Table is designed to rectify this deficiency and allow rapid table generation with flexible table
manipulation tools (allowing similar functionality to other DataGrid libraries). Therefore,
MY_Table, you should already be familiar with generating tables using the standard CodeIgniter Table class. The documentation is available at: http://ellislab.com/codeigniter/user-guide/libraries/table.html
hArpanet MY_Table is a Library override for CI, and should be located at:
Like most other classes in CodeIgniter, the Table class is initialized in your controller using the
load→library method. As
MY_Table is an override for the standard CodeIgniter Table class, it is initialised using the standard format:
Once loaded, the
MY_Table library object will be available using:
Click any method name below for full details, examples, etc.
Various boolean flags to enable/disable certain operations during table processing.