RegistryPage_Controller
class RegistryPage_Controller extends Page_Controller (View source)
Properties
Methods
Get all search query vars except Sort and Dir, compiled into a query link.
Return the opposite direction from the currently sorted column's direction.
Build up search filters from user's search criteria and hand off to the query() method to search against the database.
Perform a search against the data table.
Compiles all available GET variables for the result columns into an array. Used internally, not to be used directly with the templates or outside classes.
Details
string
AllQueryVars()
Get all search query vars, compiled into a query string for a URL.
This will escape all the variables to avoid XSS.
string
QueryLink()
Get all search query vars except Sort and Dir, compiled into a query link.
This will escape all the variables to avoid XSS.
Sort()
No description
string
OppositeDirection()
Return the opposite direction from the currently sorted column's direction.
RegistryFilterForm()
No description
array
doRegistryFilter(array $data, $form, $request)
Build up search filters from user's search criteria and hand off to the query() method to search against the database.
doRegistryFilterReset($data, $form, $request)
No description
RegistryEntries($paginated = true)
No description
Columns($result = null)
No description
export($request)
Exports out all the data for the current search results.
Sends the data to the browser as a CSV file.
show($request)
No description
protected ArrayList|PaginatedList
queryList(array $where = array(), array $orderby = array(), string|int $start, string|int $pageLength, bool $paged = true)
Perform a search against the data table.
protected array
escapeSelect(array $names)
Safely escape a list of "select" candidates for a query
protected array
_queryVars()
Compiles all available GET variables for the result columns into an array. Used internally, not to be used directly with the templates or outside classes.
This will NOT escape values to avoid XSS.
getTemplateList($action)
No description