Gii

Namegii
ClassGiiModule
Location/home/vhosts/app-manager.eu5.org/framework/gii/GiiModule.php
GiiModule is a module that provides Web-based code generation capabilities.

To use GiiModule, you must include it as a module in the application configuration like the following:
return array(
    ......
    'modules'=>array(
        'gii'=>array(
            'class'=>'system.gii.GiiModule',
            'password'=>***choose a password***
        ),
    ),
)
Because GiiModule generates new code files on the server, you should only use it on your own development machine. To prevent other people from using this module, it is required that you specify a secret password in the configuration. Later when you access the module via browser, you will be prompted to enter the correct password. By default, GiiModule can only be accessed by localhost. You may configure its {@link ipFilters} property if you want to make it accessible on other machines. With the above configuration, you will be able to access GiiModule in your browser using the following URL: http://localhost/path/to/index.php?r=gii If your application is using path-format URLs with some customized URL rules, you may need to add the following URLs in your application configuration in order to access GiiModule:
'components'=>array(
    'urlManager'=>array(
        'urlFormat'=>'path',
        'rules'=>array(
            'gii'=>'gii',
            'gii/'=>'gii/',
            'gii//'=>'gii//',
            ...other rules...
        ),
    )
)
You can then access GiiModule via: http://localhost/path/to/index.php/gii

Options

Displaying 21-22 of 22 results.
NameValueDescriptionType
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
Free Web Hosting