Class Socialveo\Core\validation\validator\UniquenessCircleName

InheritanceSocialveo\Core\validation\validator\UniquenessCircleName » Phalcon\Mvc\Model\Validator
ImplementsPhalcon\Validation\ValidatorInterface
Uses TraitsSocialveo\Core\Translatable

Class UniquenessCircleName

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

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