public static validate_same ( $value, |
||
$control | The control that defines the value | |
$form | The container that holds the control | |
$matcher | The control which should have a matching value | |
$warning | string | An optional error message |
Результат | array | An empty array if the value exists, or an array with strings describing the errors |