1 | <?php |
||
20 | class DataTablesSearch implements DataTablesSearchInterface { |
||
21 | |||
22 | /** |
||
23 | * Regex. |
||
24 | * |
||
25 | * @var bool |
||
26 | */ |
||
27 | private $regex; |
||
28 | |||
29 | /** |
||
30 | * Value. |
||
31 | * |
||
32 | * @var string |
||
33 | */ |
||
34 | private $value; |
||
35 | |||
36 | /** |
||
37 | * Constructor. |
||
38 | */ |
||
39 | public function __construct() { |
||
43 | |||
44 | /** |
||
45 | * {@inheritdoc} |
||
46 | */ |
||
47 | public function getRegex() { |
||
50 | |||
51 | /** |
||
52 | * {@inheritdoc} |
||
53 | */ |
||
54 | public function getValue() { |
||
57 | |||
58 | /** |
||
59 | * Set the regex. |
||
60 | * |
||
61 | * @param bool $regex The regex. |
||
62 | * @return DataTablesSearchInterface Returns this search. |
||
63 | */ |
||
64 | public function setRegex($regex) { |
||
68 | |||
69 | /** |
||
70 | * Set the value. |
||
71 | * |
||
72 | * @param string $value The value. |
||
73 | * @return DataTablesSearchInterface Returns this search. |
||
74 | */ |
||
75 | public function setValue($value) { |
||
79 | |||
80 | } |
||
81 |