Class Validation

Methods summary

public boolean
# isUniqueUsername( string $uName )

Checks whether a passed username is unique or if a user of this name already exists

public boolean
# isUniqueEmail( string $uEmail )

Checks whether a passed email address is unique

public boolean
# password( string $pass )

Returns true if this is a valid password.

public boolean
# username( string $username )

Returns true if this is a valid username. Valid usernames can only contain letters, numbers, dots (only in the middle), underscores (only in the middle) and optionally single spaces