| 1 | <?php |
||
| 3 | class Nip_Form_Element_RadioGroup extends Nip_Form_Element_Input_Group |
||
|
|
|||
| 4 | { |
||
| 5 | protected $_type = 'radioGroup'; |
||
| 6 | |||
| 7 | /** |
||
| 8 | * @return Nip_Form_Element_Abstract |
||
| 9 | */ |
||
| 10 | 3 | public function getNewElement() |
|
| 17 | |||
| 18 | /** |
||
| 19 | * @param $value |
||
| 20 | * @return $this |
||
| 21 | */ |
||
| 22 | public function setValue($value) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param $boolean |
||
| 37 | * @return Nip_Form_Element_RadioGroup |
||
| 38 | */ |
||
| 39 | 2 | public function autoSelectFirst($boolean = true) |
|
| 43 | |||
| 44 | /** |
||
| 45 | * @return bool |
||
| 46 | */ |
||
| 47 | 5 | public function isAutoSelectFirst() |
|
| 55 | } |
||
| 56 |
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.