LeftAndMain_SearchFilter
interface LeftAndMain_SearchFilter (View source)
Abstract interface for a class which may be used to filter the results displayed in a nested tree
Methods
Method on Hierarchy objects which is used to traverse into children relationships.
Method on Hierarchy objects which is used find the number of children for a parent page
Given a page, determine any additional CSS classes to apply to the tree node
Details
string
getChildrenMethod()
Method on Hierarchy objects which is used to traverse into children relationships.
string
getNumChildrenMethod()
Method on Hierarchy objects which is used find the number of children for a parent page
bool
isPageIncluded(DataObject $page)
Returns TRUE if the given page should be included in the tree.
Caution: Does NOT check view permissions on the page.
array|string
getPageClasses(DataObject $page)
Given a page, determine any additional CSS classes to apply to the tree node