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

  1. function hook_check_pagename($sPageName)
  2. {
  3. //your code here...
  4. if (/* special case *//*) throw new AnwPluginInterruptionException();
  5. }
  • en
Last edited on 04/05/2009 14:25:26
Powered by Anwiki • 0.04 sec • 2.03 MB