1 | <?php |
||
5 | class LeftOrRight extends Boolean |
||
|
|||
6 | { |
||
7 | public function Nice() |
||
11 | // |
||
12 | // public function NiceAsBoolean() { |
||
13 | // return ($this->value) ? 'true' : 'false'; |
||
14 | // } |
||
15 | |||
16 | /** |
||
17 | * Saves this field to the given data object. |
||
18 | */ |
||
19 | public function saveInto($dataObject) |
||
28 | |||
29 | public function scaffoldFormField($title = null, $params = null) |
||
40 | |||
41 | public function scaffoldSearchField($title = null) |
||
54 | } |
||
55 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.