function zcale_Core_2(&$mainClass, &$modules, &$onComplete, &$onError) { $loader = new zcale_core_web_ModuleLoader(); $loader->exclude($modules[0]); $loader->event->addListener($loader->eventKeys->complete, array(new _hx_lambda(array(&$loader, &$mainClass, &$modules, &$onComplete, &$onError), "zcale_Core_4"), 'execute')); $loader->event->addListener($loader->eventKeys->error, array(new _hx_lambda(array(&$loader, &$mainClass, &$modules, &$onComplete, &$onError), "zcale_Core_5"), 'execute')); $loader->load($modules); }
} public function __call($m, $a) { if (isset($this->{$m}) && is_callable($this->{$m})) { return call_user_func_array($this->{$m}, $a); } else { if (isset($this->__dynamics[$m]) && is_callable($this->__dynamics[$m])) { return call_user_func_array($this->__dynamics[$m], $a); } else { if ('toString' == $m) { return $this->__toString(); } else { throw new HException('Unable to call <' . $m . '>'); } } } } static $loadedModules; function __toString() { return 'zcale.core.web.ModuleLoader'; } } zcale_core_web_ModuleLoader::$loadedModules = new _hx_array(array()); function zcale_core_web_ModuleLoader_0(&$__hx__this, &$_g, &$moduleSequence, &$path) { $str = null; $str1 = zcale_PathTools::lastElement($path, "."); $str = _hx_substr($str1, 0, 1); return _hx_deref(new EReg("^[A-Z]+\$", ""))->match($str); }