nglasl\extensible\ExtensibleSearchAPI
Passes the current request over to the `ExtensibleSearchService`.
@author Nathan Glasl <nathan@symbiote.com.au>
Synopsis
class ExtensibleSearchAPI
extends Controller
{
- // members
- public $service;
- private static array $dependencies = ;
- private static array $allowed_actions = ;
- // methods
- public void index()
- public void toggleSuggestionApproved()
- public void getPageSuggestions()
- public void getSuggestions()
Hierarchy
Extends
- SilverStripe\Control\Controller
Members
private
- $allowed_actions
- $dependencies
public
- $service
Methods
public
- getPageSuggestions() — Retrieve the search suggestions that have been approved (great for client side filtering).
- getSuggestions() — Retrieve the most relevant search suggestions that have been approved.
- index() — Reject a direct request.
- toggleSuggestionApproved() — Toggle a search suggestion's approval.