PHP Class Phalcon\Validation\Validator\ConfirmationOf

new \Phalcon\Validation\Validator\ConfirmationOf([ 'origField' => {string - original field attribute}, 'message' => {string - validation message}, 'allowEmpty' => {bool - allow empty value} ])
Inheritance: extends Phalcon\Validation\Validator
显示文件 Open project: phalcon/incubator Class Usage Examples

Public Methods

Method Description
validate ( Phalcon\Validation $validation, string $attribute ) : boolean Value validation

Method Details

validate() public method

Value validation
public validate ( Phalcon\Validation $validation, string $attribute ) : boolean
$validation Phalcon\Validation - validation object
$attribute string - validated attribute
return boolean