Class Socialveo\Core\validation\validator\Password

InheritanceSocialveo\Core\validation\validator\Password
ImplementsPhalcon\Validation\ValidatorInterface

Class Password

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__construct() Password constructor. Socialveo\Core\validation\validator\Password
getOption() Returns an option in the validator's options Returns null if the option hasn't set Socialveo\Core\validation\validator\Password
hasOption() Checks if an option is defined Socialveo\Core\validation\validator\Password
isSetOption() Checks if an option is defined Socialveo\Core\validation\validator\Password
validate() Executes the validation Socialveo\Core\validation\validator\Password

Method Details

__construct() public method

Password constructor.

public void __construct ( array $attributes = [] )
$attributes array
getOption() public method

Returns an option in the validator's options Returns null if the option hasn't set

public mixed getOption ( $key, $defaultValue null )
$key string
$defaultValue mixed
hasOption() public method

Checks if an option is defined

public boolean hasOption ( $key )
$key string
isSetOption() public method
Deprecated since 2.1.0

Checks if an option is defined

See also \Phalcon\Validation\Validator::hasOption().

public boolean isSetOption ( $key )
$key string
validate() public method

Executes the validation

public Phalcon\Validation\Message\Group validate ( Phalcon\Validation $validation, $attribute )
$validation Phalcon\Validation
$attribute string