Public Member Functions | |
init () | |
registerScripts () | |
getAssetsUrl () | |
getAuthorizer () | |
getInstaller () | |
getGenerator () | |
getVersion () |
Public Attributes | |
$superuserName = 'Admin' | |
$authenticatedName = 'Authenticated' | |
$userClass = 'User' | |
$userIdColumn = 'id' | |
$userNameColumn = 'username' | |
$enableBizRule = true | |
$enableBizRuleData = false | |
$displayDescription = true | |
$flashSuccessKey = 'RightsSuccess' | |
$flashErrorKey = 'RightsError' | |
$install = false | |
$baseUrl = '/rights' | |
$layout = 'rights.views.layouts.main' | |
$appLayout = 'application.views.layouts.main' | |
$cssFile | |
$debug = false |
Rights module class file.
DO NOT CHANGE THE DEFAULT CONFIGURATION VALUES!
You may overload the module configuration values in your rights-module configuration like so:
'modules'=>array( 'rights'=>array( 'userNameColumn'=>'name', 'flashSuccessKey'=>'success', 'flashErrorKey'=>'error', ), ),
Definition at line 22 of file RightsModule.php.
RightsModule::getAssetsUrl | ( | ) |
Publishes the module assets path.
Definition at line 173 of file RightsModule.php.
Referenced by registerScripts().
RightsModule::getAuthorizer | ( | ) |
Definition at line 192 of file RightsModule.php.
RightsModule::getGenerator | ( | ) |
Definition at line 208 of file RightsModule.php.
RightsModule::getInstaller | ( | ) |
Definition at line 200 of file RightsModule.php.
RightsModule::getVersion | ( | ) |
RightsModule::init | ( | ) |
Initializes the "rights" module.
Definition at line 95 of file RightsModule.php.
RightsModule::registerScripts | ( | ) |
Registers the necessary scripts.
Definition at line 143 of file RightsModule.php.
References getAssetsUrl().