AuthorAnton Yakushin <>
AppManager provides user interface to the Yii application config.

AppManager provides ability to browse all installed components, modules, extensions, activate/deactivate them and update their settings. Also the Yii core components and modules have the same abilities. To activate manager add to Yii configuration 'appManager' under 'modules' section. For proper work the application config file (config/main.php) should be writable by the server. If it is not, only browsing will be available. NOTICE: it's recommended to backup your config file before performing any actions (except browsing) with AppManager as it will completely override the config during work.


Displaying 11-16 of 16 results.
basePathnullSets the root directory of the module. This method can only be invoked at the beginning of the constructor. the root directory of the module. @throws CException if the directory does not exist.string
paramsnullSets user-defined parameters. user-defined parameters. This should be in name-value pairs.array
modulePathnullSets the directory that contains the application modules. the directory that contains the application modules. @throws CException if the directory is invalidstring
importnullSets the aliases that are used in the module. list of aliases to be importedarray
aliasesnullDefines the root aliases. list of aliases to be defined. The array keys are root aliases, while the array values are paths or aliases corresponding to the root aliases. For example, <pre> array( 'models'=>'application.models', // an existing alias 'extensions'=>'application.extensions', // an existing alias 'backend'=>dirname(__FILE__).'/../backend', // a directory ) </pre>array
modulesnullConfigures the sub-modules of this module. Call this method to declare sub-modules and configure them with their initial property values. The parameter should be an array of module configurations. Each array element represents a single module, which can be either a string representing the module ID or an ID-configuration pair representing a module with the specified ID and the initial property values. For example, the following array declares two modules: <pre> array( 'admin', // a single module ID 'payment'=>array( // ID-configuration pair 'server'=>'', ), ) </pre> By default, the module class is determined using the expression <code>ucfirst($moduleID).'Module'</code>. And the class file is located under <code>modules/$moduleID</code>. You may override this default by explicitly specifying the 'class' option in the configuration. You may also enable or disable a module by specifying the 'enabled' option in the configuration. module configurations.array
Free Web Hosting