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
|
@@ 117-122 (lines=6) @@
|
114 |
|
* (non-PHPdoc) |
115 |
|
* @see \Ajax\bootstrap\html\base\HtmlSingleElement::run() |
116 |
|
*/ |
117 |
|
public function run(JsUtils $js) { |
118 |
|
parent::run($js); |
119 |
|
$this->_bsComponent=$js->bootstrap()->generic("#".$this->identifier); |
120 |
|
$this->addEventsOnRun($js); |
121 |
|
return $this->_bsComponent; |
122 |
|
} |
123 |
|
|
124 |
|
protected function contentAs($tagName){ |
125 |
|
foreach ($this->content as $item){ |