|
@@ 98-104 (lines=7) @@
|
| 95 |
|
return $dropdown; |
| 96 |
|
} |
| 97 |
|
|
| 98 |
|
public function createDropdown($identifier, $caption="", $position="left", $items=array()) { |
| 99 |
|
$dropdown=new HtmlDropdown($identifier); |
| 100 |
|
$dropdown->setMTagName("div"); |
| 101 |
|
$dropdown->setTagName("button"); |
| 102 |
|
$dropdown->setMClass("input-group-btn"); |
| 103 |
|
return $this->addDropdown_($dropdown, $caption, $position, $items); |
| 104 |
|
} |
| 105 |
|
|
| 106 |
|
public function createSplitButton($identifier, $caption="", $position="left", $items=array()) { |
| 107 |
|
$dropdown=new HtmlSplitbutton($identifier); |
|
@@ 106-112 (lines=7) @@
|
| 103 |
|
return $this->addDropdown_($dropdown, $caption, $position, $items); |
| 104 |
|
} |
| 105 |
|
|
| 106 |
|
public function createSplitButton($identifier, $caption="", $position="left", $items=array()) { |
| 107 |
|
$dropdown=new HtmlSplitbutton($identifier); |
| 108 |
|
$dropdown->setTagName("button"); |
| 109 |
|
$dropdown->setMClass("input-group-btn"); |
| 110 |
|
$dropdown->setMTagName("div"); |
| 111 |
|
return $this->addDropdown_($dropdown, $caption, $position, $items); |
| 112 |
|
} |
| 113 |
|
|
| 114 |
|
/** |
| 115 |
|
* define the elements size |