SilverStripe\Admin\LeftAndMain_SearchFilter
Abstract interface for a class which may be used to filter the results displayed in a nested tree
Synopsis
interface LeftAndMain_SearchFilter
{
- // methods
- public string getChildrenMethod()
- public string getNumChildrenMethod()
- public bool isPageIncluded()
- public array|string getPageClasses()
Methods
public
- getChildrenMethod() — Method on {@link Hierarchy} objects which is used to traverse into children relationships.
- getNumChildrenMethod() — Method on {@link Hierarchy} objects which is used find the number of children for a parent page
- getPageClasses() — Given a page, determine any additional CSS classes to apply to the tree node
- isPageIncluded() — Returns TRUE if the given page should be included in the tree.