Hooks reference: check_displayname

Additional checks for displayname validation.

Args details

  • $sDisplayName (String) : Displayname to be checked

Exceptions

  • AnwPluginInterruptionException : Throw this exception when the displayname is incorrect

Example

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