ACL Comment Format
Revision as of 12:47, 16 July 2016 by imported>Kbadmin
ACL Comment Format
Below given is a format that everyone has to follow while creating an action. It is implemented to insert the action details to the resources table. It this way we can add the resource details automatically to the database.
/* <'Actionname'Action> * Name:Name of the action to be displayed; * Description:A brief description about the action functionalities; * Action Type:Application/Ajax/Cron/User; * </'Actionname'Action> */
The action type mentioned above are Application = These are the default pages like Access denied , Page not found, Row not found.... Ajax = These are the pages where the data will be retrieved using an Ajax action like Action to get state according to the country selected, get users according to the selected user-group Cron = These are the actions that have to be set as cron jobs. User = These are the remaining actions that we have to check for access