1 | <?php |
||
12 | class HtmlButtonGroups extends HtmlSemDoubleElement { |
||
13 | |||
14 | public function __construct($identifier, $elements=array(),$asIcons=false) { |
||
33 | |||
34 | |||
35 | public function addElements($elements,$asIcons=false) { |
||
41 | |||
42 | public function insertOr($aferIndex=0,$or="OR"){ |
||
49 | /* |
||
50 | * (non-PHPdoc) |
||
51 | * @see \Ajax\bootstrap\html\HtmlSingleElement::fromArray() |
||
52 | */ |
||
53 | public function fromArray($array) { |
||
56 | |||
57 | public function asIcons(){ |
||
60 | |||
61 | public function setVertical(){ |
||
64 | |||
65 | public function setLabeled(){ |
||
68 | |||
69 | /** |
||
70 | * Return the element at index |
||
71 | * @param int $index |
||
72 | * @return HtmlButton |
||
73 | */ |
||
74 | public function getElement($index) { |
||
82 | |||
83 | public function setElement($index, $button) { |
||
87 | |||
88 | /* |
||
89 | * (non-PHPdoc) |
||
90 | * @see \Ajax\bootstrap\html\base\BaseHtml::on() |
||
91 | */ |
||
92 | public function on($event, $jsCode, $stopPropagation=false, $preventDefault=false) { |
||
98 | |||
99 | public function getElements() { |
||
102 | |||
103 | /* (non-PHPdoc) |
||
104 | * @see \Ajax\bootstrap\html\base\BaseHtml::fromDatabaseObject() |
||
105 | */ |
||
106 | public function fromDatabaseObject($object, $function) { |
||
109 | } |