Ajax/common/html/html5/HtmlSelect.php 1 location
|
@@ 79-84 (lines=6) @@
|
| 76 |
|
* (non-PHPdoc) |
| 77 |
|
* @see \Ajax\bootstrap\html\base\HtmlSingleElement::run() |
| 78 |
|
*/ |
| 79 |
|
public function run(JsUtils $js) { |
| 80 |
|
parent::run($js); |
| 81 |
|
$this->_bsComponent=$js->bootstrap()->generic("#".$this->identifier); |
| 82 |
|
$this->addEventsOnRun($js); |
| 83 |
|
return $this->_bsComponent; |
| 84 |
|
} |
| 85 |
|
|
| 86 |
|
public function onChange($jsCode) { |
| 87 |
|
return $this->on("change", $jsCode); |
Ajax/common/html/HtmlCollection.php 1 location
|
@@ 128-133 (lines=6) @@
|
| 125 |
|
* (non-PHPdoc) |
| 126 |
|
* @see \Ajax\bootstrap\html\base\HtmlSingleElement::run() |
| 127 |
|
*/ |
| 128 |
|
public function run(JsUtils $js) { |
| 129 |
|
parent::run($js); |
| 130 |
|
$this->_bsComponent=$js->bootstrap()->generic("#".$this->identifier); |
| 131 |
|
$this->addEventsOnRun($js); |
| 132 |
|
return $this->_bsComponent; |
| 133 |
|
} |
| 134 |
|
|
| 135 |
|
protected function contentAs($tagName){ |
| 136 |
|
foreach ($this->content as $item){ |