Free Web Hosting

Translate

Nametranslate
ClassTranslateModule
Location/home/vhosts/app-manager.eu5.org/protected/modules/translate/TranslateModule.php
AuthorNot set
VersionNot set
LinkNot set


Options

Displaying 11-16 of 16 results.
NameValueDescriptionType
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'=>'paymentserver.com', ), ) </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