| 1 | <?php |
||
| 10 | class SearchEvent extends Event |
||
| 11 | { |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var ActiveQuery |
||
| 15 | */ |
||
| 16 | public $activeQuery = null; |
||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | public $q = null; |
||
| 21 | /** |
||
| 22 | * @var callable |
||
| 23 | */ |
||
| 24 | protected $functionSearch = null; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @return callable |
||
| 28 | */ |
||
| 29 | public function getFunctionSearch() |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @param callable $functionSearch |
||
| 36 | */ |
||
| 37 | public function setFunctionSearch(callable $functionSearch) |
||
| 41 | |||
| 42 | public function init() |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @return array |
||
| 54 | */ |
||
| 55 | public function getAll() |
||
| 64 | |||
| 65 | } |