1 | <?php |
||
19 | class Search |
||
20 | { |
||
21 | /** |
||
22 | * @var ArrayObject |
||
23 | */ |
||
24 | protected $columns; |
||
25 | |||
26 | 11 | public function __construct(ArrayObject $columns) |
|
30 | |||
31 | /** |
||
32 | * @return Result |
||
33 | */ |
||
34 | 3 | public function all() |
|
38 | |||
39 | /** |
||
40 | * Search ColumnModel for columns that are not in the $columns parameter. |
||
41 | * |
||
42 | * @throws Exception\InvalidArgumentException |
||
43 | * |
||
44 | * @return Result |
||
45 | */ |
||
46 | 1 | public function notIn(array $columns) |
|
57 | |||
58 | /** |
||
59 | * @return Result |
||
60 | */ |
||
61 | 9 | public function in(array $columns) |
|
73 | |||
74 | /** |
||
75 | * @param string $regexp |
||
76 | * |
||
77 | * @return Result |
||
78 | */ |
||
79 | 4 | public function regexp($regexp) |
|
91 | |||
92 | /** |
||
93 | * @param string $type |
||
94 | * |
||
95 | * @return Result |
||
96 | */ |
||
97 | 1 | public function findByType($type) |
|
108 | |||
109 | /** |
||
110 | * Return virtual column (not materialized by the underlying datasource). |
||
111 | * |
||
112 | * @return Result |
||
113 | */ |
||
114 | 1 | public function findVirtual() |
|
125 | } |
||
126 |