|
@@ 287-294 (lines=8) @@
|
| 284 |
|
* @param string $param |
| 285 |
|
* @param array $parameters default : array("preventDefault"=>false,"stopPropagation"=>false,"jsCallback"=>'',"immediatly"=>true) |
| 286 |
|
*/ |
| 287 |
|
public function doJQueryOn($event, $element, $elementToModify, $jqueryCall, $param="", $parameters=array()) { |
| 288 |
|
$jsCallback=""; |
| 289 |
|
$stopPropagation=false; |
| 290 |
|
$preventDefault=false; |
| 291 |
|
$immediatly=true; |
| 292 |
|
extract($parameters); |
| 293 |
|
return $this->js->_doJQueryOn($event, $element, $elementToModify, $jqueryCall, $param, $preventDefault, $stopPropagation, $jsCallback,$immediatly); |
| 294 |
|
} |
| 295 |
|
|
| 296 |
|
/** |
| 297 |
|
* Executes the code $js |
|
@@ 315-322 (lines=8) @@
|
| 312 |
|
* @param array $parameters default : array("preventDefault"=>false,"stopPropagation"=>false,"immediatly"=>true) |
| 313 |
|
* @return String |
| 314 |
|
*/ |
| 315 |
|
public function execOn($event, $element, $js, $parameters=array()) { |
| 316 |
|
$stopPropagation=false; |
| 317 |
|
$preventDefault=false; |
| 318 |
|
$immediatly=true; |
| 319 |
|
extract($parameters); |
| 320 |
|
$script=$this->js->_execOn($element, $event, $js, $preventDefault, $stopPropagation,$immediatly); |
| 321 |
|
return $script; |
| 322 |
|
} |
| 323 |
|
} |