HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Implement Plugin functionality just before request enter in controller
Hi , currently I am using "base_render_before" function to implement plugin functionality, can any one suggest a way by which i can handle this before entering into the controller function like in constructor or initilize function.
0
Comments
Use
CONTROLLERNAME_initialize_handler
(e.g.discussionsController_initialize_handler
).If you want to intercept the request before it is being dispatched to a controller, check out the events fired in /library/core/class.dispatcher.php (e.g.
AppStartup
,BeforeAnalyzeRequest
, ...)My themes: pure | minusbaseline - My plugins: CSSedit | HTMLedit | InfiniteScroll | BirthdayModule | [all] - PM me about customizations
VanillaSkins.com - Plugins, Themes and Graphics for Vanillaforums OS