SilverStripe\Registry\Tests\Stub\RegistryPageTestPageController
Synopsis
class RegistryPageTestPageController
extends RegistryPageController
implements
TestOnly
{
- // Inherited methods from RegistryPageController
- public string AllQueryVars()
- public string QueryLink()
- public void Sort()
- public string OppositeDirection()
- public void RegistryFilterForm()
- public array doRegistryFilter()
- public void doRegistryFilterReset()
- public void RegistryEntries()
- public boolean canSortBy()
- public ArrayList Columns()
- public void export()
- public void show()
- protected SS_List queryList()
- protected bool instanceHasRelationship()
- protected array escapeSelect()
- protected array queryVars()
- public void getTemplateList()
- public string getClassNameForUrl()
Hierarchy
Methods
Inherited from SilverStripe\Registry\RegistryPageController
protected
- escapeSelect() — Safely escape a list of "select" candidates for a query
- instanceHasRelationship() — Returns boolean if the fieldname is a relationship on the instance.
- queryList() — Perform a search against the data table.
- 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.
public
- AllQueryVars() — Get all search query vars, compiled into a query string for a URL.
- Columns() — Format a set of columns, used for headings and row data
- OppositeDirection() — Return the opposite direction from the currently sorted column's direction.
- QueryLink() — Get all search query vars except Sort and Dir, compiled into a query link.
- RegistryEntries()
- RegistryFilterForm()
- Sort()
- canSortBy() — Loosely check if the record can be sorted by a property
- doRegistryFilter() — Build up search filters from user's search criteria and hand off to the {@link query()} method to search against the database.
- doRegistryFilterReset()
- export() — Exports out all the data for the current search results.
- getClassNameForUrl() — Sanitise a PHP class name for display in URLs etc
- getTemplateList()
- show()