Exemplo n.º 1
0
 public function addJavascript($js)
 {
     $script = (string) $js;
     $script = Zmz_Utils::clearScript($script);
     $view = Zend_Layout::getMvcInstance()->getView();
     $view->headScript()->appendScript($script);
 }
Exemplo n.º 2
0
 public function addJquery($js)
 {
     $script = (string) $js;
     $script = Zmz_Utils::clearScript($script);
     $this->jquery->addOnLoad($script);
 }