phpMv  -UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
Buttonset.php
Go to the documentation of this file.
1 <?php
2 namespace Ajax\ui\components;
3 
4 use Ajax\JsUtils;
6 
13 class Buttonset extends SimpleComponent {
14 
15  public function __construct(JsUtils $js) {
16  parent::__construct($js);
17  $this->uiName = "buttonset";
18  }
19 
27  public function setDisabled($value) {
28  return $this->setParamCtrl("disabled", $value, "is_bool");
29  }
30 
38  public function setItems($value) {
39  return $this->setParam("items", $value);
40  }
41 }
Base component for JQuery UI visuals components.
setDisabled($value)
Disables the buttonSet if set to true.
Definition: Buttonset.php:27
JQuery PHP library.
Definition: JsUtils.php:23
setItems($value)
Which descendant elements to convert manage as buttons.
Definition: Buttonset.php:38
Composant JQuery UI Menu.
Definition: Buttonset.php:13
setParamCtrl($key, $value, $typeCtrl)