Table
class Table
Our class to generate pageable tables.
This handles all the details for generating pageable, sortable tables that from a particular database query.
This is a pretty complex class and for now the best way to understand it is to look at its use in various places throughout the code.
This also interoperates with the CrudForm class in those cases where a table needs links to a detail page for a row as seen in admin/key/index.php
Properties
static | $DEFAULT_PAGE_LENGTH |
Methods
static
doForm($values, $override = array())
No description
static
doUrl($values, $override = array())
No description
static
makeUrl($url, $values, $override = array())
No description
static
matchColumns($colname, $columns)
No description
static
pagedQuery($sql, $queryvalues, $searchfields = array(), $orderfields = false, $params = false)
No description
static
pagedHeader($rows, $searchfields = array(), $orderfields = false, $view = false, $params = false, $extra_buttons = false)
No description
static
pagedTable($rows, $searchfields = array(), $orderfields = false, $view = false, $params = false, $extra_buttons = false)
No description
static
pagedAuto($sql, $query_parms, $searchfields, $orderfields = false, $view = false, $params = false, $buttons = false)
No description