| 1 | <?php namespace PKleindienst\BlogSearch\Components;  | 
            ||
| 11 | class SearchForm extends ComponentBase  | 
            ||
| 12 | { | 
            ||
| 13 | /**  | 
            ||
| 14 | * @var string Reference to the search results page.  | 
            ||
| 15 | */  | 
            ||
| 16 | public $resultPage;  | 
            ||
| 17 | |||
| 18 | /**  | 
            ||
| 19 | * @var array  | 
            ||
| 20 | */  | 
            ||
| 21 | public $categories = [];  | 
            ||
| 22 | |||
| 23 | /**  | 
            ||
| 24 | * @var bool  | 
            ||
| 25 | */  | 
            ||
| 26 | public $categoryFilter = false;  | 
            ||
| 27 | |||
| 28 | /**  | 
            ||
| 29 | * @return array  | 
            ||
| 30 | */  | 
            ||
| 31 | public function componentDetails()  | 
            ||
| 38 | |||
| 39 | /**  | 
            ||
| 40 | * @return array  | 
            ||
| 41 | */  | 
            ||
| 42 | public function defineProperties()  | 
            ||
| 57 | |||
| 58 | /**  | 
            ||
| 59 | * @return mixed  | 
            ||
| 60 | */  | 
            ||
| 61 | public function getResultPageOptions()  | 
            ||
| 65 | |||
| 66 | /**  | 
            ||
| 67 | * Prepare vars  | 
            ||
| 68 | */  | 
            ||
| 69 | public function onRun()  | 
            ||
| 75 | }  | 
            ||
| 76 |