Exemple #1
0
 public function addLoadScript($js, $order = self::DEFAULT_ORDER)
 {
     if (!empty($js)) {
         if (!$this->isPopulated()) {
             parent::addLoadScript($js, $order);
         } else {
             $this->document->addScriptDeclaration($js);
         }
     }
 }
 public function __construct()
 {
     parent::__construct();
     $this->document = JFactory::getDocument();
 }
Exemple #3
0
 /**
  *
  */
 public function __construct()
 {
     parent::__construct();
 }