Hooks reference: check_pagename
Additional checks for pagename validation.
Args details
- $sPageName (String) : Page name to be checked
Exceptions
- AnwPluginInterruptionException : Throw this exception when the pagename is incorrect
Example
- function hook_check_pagename($sPageName) {
- //your code here...
- if (/* special case *//*) throw new AnwPluginInterruptionException(); }
- en
Last edited on 04/05/2009 14:25:26