interface LeftAndMain_SearchFilter (View source)

Abstract interface for a class which may be used to filter the results displayed in a nested tree

Methods

string
getChildrenMethod()

Method on {@link Hierarchy} objects which is used to traverse into children relationships.

string
getNumChildrenMethod()

Method on {@link 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.

array|string
getPageClasses(DataObject $page)

Given a page, determine any additional CSS classes to apply to the tree node

Details

string getChildrenMethod()

Method on {@link Hierarchy} objects which is used to traverse into children relationships.

Return Value

string

string getNumChildrenMethod()

Method on {@link Hierarchy} objects which is used find the number of children for a parent page

Return Value

string

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.

Parameters

DataObject $page

Return Value

bool

array|string getPageClasses(DataObject $page)

Given a page, determine any additional CSS classes to apply to the tree node

Parameters

DataObject $page

Return Value

array|string