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 11-20 of 22 results.
NameValueDescriptionType
behaviorsarray()The behaviors that should be attached to the module. The behaviors will be attached to the module when {@link init} is called. Please refer to {@link CModel::behaviors} on how to specify the value of this property.array
assetsUrlnullThe base URL that contains all published asset files of gii.string
controllerPathnullThe directory that contains the controller classes. @throws CException if the directory is invalidstring
viewPathnullThe root directory of view files. @throws CException if the directory does not exist.string
layoutPathnullThe root directory of layout files. @throws CException if the directory does not exist.string
idnullSets the module ID. the module IDstring
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
Free Web Hosting