| Total Complexity | 3 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class Buttonset extends SimpleComponent { |
||
| 14 | |||
| 15 | public function __construct(JsUtils $js) { |
||
| 16 | parent::__construct($js); |
||
| 17 | $this->uiName = "buttonset"; |
||
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Disables the buttonSet if set to true. |
||
| 22 | * |
||
| 23 | * @param Boolean $value |
||
| 24 | * default : false |
||
| 25 | * @return $this |
||
| 26 | */ |
||
| 27 | public function setDisabled($value) { |
||
| 28 | return $this->setParamCtrl("disabled", $value, "is_bool"); |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Which descendant elements to convert manage as buttons. |
||
| 33 | * default : "button, input[type=button], input[type=submit], input[type=reset], input[type=checkbox], input[type=radio], a, :data(ui-button)" |
||
| 34 | * |
||
| 35 | * @param String $value |
||
| 36 | * @return $this |
||
| 37 | */ |
||
| 38 | public function setItems($value) { |
||
| 40 | } |
||
| 41 | } |
||
| 42 |