Hooks reference: action_view_pagenotfound
This hook is called by Action:view when a page is not found.
Then, if user has create permission, he will be redirected to Action:create. Otherwise, user will get a 404 error.
Args details
- $oPage (Instance of class AnwPage) : The requested page (which doesn't exist)
Example
- function hook_action_view_pagenotfound($oPage) {
- //your code here... }
- en
Last edited on 04/05/2009 14:23:31