Пример #1
0
 function customBuild()
 {
     $document = JFactory::getDocument();
     foreach (@DojoLoader::getInstance(null) as $loader) {
         $document->addScript($loader->_build());
     }
 }
Пример #2
0
 function __construct()
 {
     if (!is_array($this->stack)) {
         $this->stack = array();
     }
     $this->index = -1;
     $this->loader =& DojoLoader::getInstance();
 }
Пример #3
0
 function addAbsoluteScriptFile($file, $version = null, $scope = 'o')
 {
     if ($version == null) {
         $l = DojoLoader::getInstance();
     } else {
         $l = DojoLoader::getInstance($version, $scope);
     }
     $l->_addScriptFile($file);
 }