Validator to check for repeated strings, usually for password checking.
Validator to check for repeated strings, usually for password checking.
Add this validator to the second password control, and pass the the first control when creating the AnewtValidatorRepeat instance.
__construct($other_control) ¶Create an AnewtValidatorRepeat instance.
$other_controlThe other control to compare the value against.
is_valid($value) ¶Checks for validity.
The return value should be true for valid values, and false otherwise.
$valueThe value to check for validity.
True if the value is valid, false otherwise.
$other_control [private] ¶Reference to the other control.
AnewtContainer::_to_array()AnewtContainer::_add()AnewtContainer::delete()AnewtContainer::get()AnewtContainer::_isset()AnewtContainer::_seed()AnewtContainer::setdefault()AnewtContainer::getdefault()AnewtContainer::set()AnewtContainer::__isset()AnewtContainer::__set()AnewtContainer::is_set()AnewtContainer::add()AnewtContainer::_getdefault()AnewtContainer::__unset()AnewtContainer::seed()AnewtContainer::to_array()AnewtContainer::_get()AnewtContainer::__get()AnewtContainer::keys()AnewtContainer::clear()AnewtContainer::_keys()AnewtContainer::_set()AnewtValidator::__construct()