Inherits Plugin.

Public Member Functions | |
| tpTable () | |
| build_table ($params) | |
| build_grid ($params) | |
| _getrowdata ($row, $idx) | |
| _pagelink ($pagenum, $curpage, $perpage, $url) | |
| _opt_isset ($options, $optname) | |
| _getparam (&$params, $name, $default) | |
Public Attributes | |
| $guid = 0 | |
PRONTO WEB FRAMEWORK Copyright (C) 2006, Judd Vinet
Description: Template plugin for generating "smart" and "dumb" tables. Dumb tables are simply a set of headers and rows of data. Smart tables have filters, sortable columns, pagination, and totals.
Definition at line 13 of file table.php.
| tpTable::_getparam | ( | &$ | params, | |
| $ | name, | |||
| $ | default | |||
| ) |
Definition at line 588 of file table.php.
References $params.
Referenced by build_grid(), and build_table().
| tpTable::_getrowdata | ( | $ | row, | |
| $ | idx | |||
| ) |
Definition at line 542 of file table.php.
Referenced by build_grid().
| tpTable::_opt_isset | ( | $ | options, | |
| $ | optname | |||
| ) |
Definition at line 575 of file table.php.
Referenced by build_grid().
| tpTable::_pagelink | ( | $ | pagenum, | |
| $ | curpage, | |||
| $ | perpage, | |||
| $ | url | |||
| ) |
Definition at line 554 of file table.php.
Referenced by build_grid().
| tpTable::build_grid | ( | $ | params | ) |
Generate a table of data with search filters/pagination/sorting/totals
| array | $params Table parameters |
Parameters:
Definition at line 122 of file table.php.
References $guid, $opts, $p, $params, __(), _getparam(), _getrowdata(), _opt_isset(), _pagelink(), array_hash(), and url().
| tpTable::build_table | ( | $ | params | ) |
Generate a simple table.
| array | $params Table parameters |
Parameters:
Definition at line 36 of file table.php.
References $params, and _getparam().
| tpTable::tpTable | ( | ) |
Constructor
Definition at line 20 of file table.php.
References Plugin_Base::depend(), and Plugin::Plugin().
| tpTable::$guid = 0 |
Definition at line 15 of file table.php.
Referenced by build_grid().
1.6.1