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