/** * Run light version of application with specified modules support * * @see Mage_Core_Model_App->run() * * @param string|array $scopeCode * @param string $scopeType * @param string|array $options * @param string|array $modules * @return Mage_Core_Model_App */ public function initSpecified($scopeCode, $scopeType = null, $options = array(), $modules = array()) { $this->baseInit($options); if (!empty($modules)) { $this->_config->addAllowedModules($modules); } $this->_initModules(); $this->_initCurrentStore($scopeCode, $scopeType); return $this; }