OP\SearchController
Synopsis
class SearchController
extends Controller
{
- // members
- private static array $allowed_actions = ;
- // methods
- public void index()
- public void getAutoCompleteActionName()
- public DataList buildsearchquery()
- public string Link()
Hierarchy
Extends
- SilverStripe\Control\Controller
Members
private
- $allowed_actions
Methods
public
- Link() — Returns a string url to the current controller
- buildsearchquery() — Return a query that will return results of the search. Will look at $searchable_fields of the dataobject. If none are found, it will resort to Title. Title must exist on the dataobject
- getAutoCompleteActionName() — Default search query for dataobjects
- index() — Default action on controller