Total Complexity | 5 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
7 | class SimpleExtComponent extends SimpleComponent { |
||
8 | protected $events=array (); |
||
9 | protected $jsCodes=array (); |
||
10 | |||
11 | public function addEvent($event, $jsCode) { |
||
14 | } |
||
15 | |||
16 | public function getScript() { |
||
17 | parent::getScript(); |
||
18 | $this->compileJsCodes(); |
||
19 | return $this->compileJQueryCode(); |
||
20 | } |
||
21 | |||
22 | protected function compileJsCodes(){ |
||
26 | )); |
||
27 | } |
||
28 | } |
||
29 | |||
30 | public function addCode($jsCode) { |
||
32 | } |
||
33 | |||
35 |