BeforeControllerAction: Difference between revisions
From LimeSurvey Manual
DenisChenu (talk | contribs) beforeControllerAction creation |
No edit summary |
||
Line 7: | Line 7: | ||
*''controller'' : the controller called (exemple : admin for admin part) | *''controller'' : the controller called (exemple : admin for admin part) | ||
*''action'' : the action called | *''action'' : the action called | ||
*''subaction'': if called from admin, the subaction | |||
Latest revision as of 16:41, 5 August 2016
When
This event is fired just before any action is done
Input
- controller : the controller called (exemple : admin for admin part)
- action : the action called
- subaction: if called from admin, the subaction
Possible output
- run as boolean, if false : the controller/action are not called. LimeSUrvey do nothing. Then you can do your own page/system to replace any action.