class Validation (View source)

Methods

bool
isUniqueUsername(string $uName) deprecated

No description

bool
isUniqueEmail(string $uEmail) deprecated

No description

bool
password(string $pass) deprecated

Returns true if this is a valid password.

bool
username(string $username) deprecated

No description

Details

bool isUniqueUsername(string $uName) deprecated

deprecated Use the Concrete\Core\Validator\String\UniqueUserNameValidator validator

Parameters

string $uName

Return Value

bool

bool isUniqueEmail(string $uEmail) deprecated

deprecated Use \Concrete\Core\Validator\String\UniqueUserEmailValidator

Parameters

string $uEmail

Return Value

bool

bool password(string $pass) deprecated

deprecated Use `\Core::make('validator/password')->isValid($pass, $error);`

Returns true if this is a valid password.

Parameters

string $pass

Return Value

bool

bool username(string $username) deprecated

deprecated use the 'validator/user/name' validator

Parameters

string $username

Return Value

bool