/** * initApp. * * @param string $version Param * @param string $extensionmainjs Param * @param array $dependencies {key2 => {key1, keyi}} * @param array $paths {key1 => pathjs1, key2 => pathjs2} * * @return void */ public function initApp($version = null, $extensionmainjs = null, $dependencies = array(), $paths = array()) { parent::_initApp($version, $extensionmainjs, $dependencies, $paths); $this->appPaths = array_merge($this->appPaths, $paths); $moreDependencies = $this->_discoverDependencies($paths); $this->appDependencies = array_merge($this->appDependencies, $dependencies, $moreDependencies); }
/** * initApp. * * @param string $version Param * @param string $extensionmainjs Param * @param array $dependencies {key2 => {key1, keyi}} * @param array $paths {key1 => pathjs1, key2 => pathjs2} * * @return void */ public function initApp($version = null, $extensionmainjs = null, $dependencies = array(), $paths = array()) { parent::_initApp($version, $extensionmainjs, $dependencies, $paths); $this->_generateApp($dependencies, $paths); }