Dokeos
[ class tree: Dokeos ] [ index: Dokeos ] [ all elements ]

Class: HTML_QuickForm_Rule_Username

Source Location: /main/inc/lib/formvalidator/Rule/Username.php

Class Overview

HTML_QuickForm_Rule
   |
   --HTML_QuickForm_Rule_Username

QuickForm rule to check if a username is of the correct format


Methods



Class Details

[line 27]
QuickForm rule to check if a username is of the correct format



[ Top ]


Class Methods


method validate [line 35]

boolean validate( string $username)

Function to check if a username is of the correct format



Tags:

return:  True if username is of the correct format
see:  HTML_QuickForm_Rule


Parameters:

string   $username   Wanted username

[ Top ]


Documentation generated on Wed, 05 Sep 2007 06:15:14 +0200 by phpDocumentor 1.4.0