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}
])
Exibir arquivo
Open project: phalcon/incubator
Class Usage Examples
Public Methods
Method |
Description |
|
validate ( Phalcon\Validation $validation, string $attribute ) : boolean |
Value validation |
|
Method Details
public validate ( Phalcon\Validation $validation, string $attribute ) : boolean |
$validation |
Phalcon\Validation |
- validation object |
$attribute |
string |
- validated attribute |
return |
boolean |
|