Version: current

# Class ContentControllerSearchExtension

Extension to provide a search interface when applied to ContentController

  Extension
  ContentControllerSearchExtension

Package: sapphire\search
Located at sapphire/search/ContentControllerSearchExtension.php

## Methods summary

`public` | # `SearchForm( )` Site search form Site search form
`public` | # `results( array $data, `SearchForm` $form, `SS_HTTPRequest` $request )` Process and render search results. Process and render search results. #### Parameters $data array $data The raw request data submitted by user $form SearchForm $form The form instance that was submitted $request SS_HTTPRequest $request Request generated for this action

### Methods inherited from Extension

`__construct()`, `clearOwner()`, `getOwner()`, `get_classname_without_arguments()`, `setOwner()`

### Magic methods summary

## Properties summary

`public static array` | $allowed_actions | # This is used by extensions designed to be applied to controllers. It works the same way as `Controller::$allowed_actions`. This is used by extensions designed to be applied to controllers. It works the same way as `Controller::$allowed_actions`.

### Properties inherited from Extension

`$class`, `$owner`, `$ownerBaseClass`

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -