NetefxValidatorRuleIMPLIES::__construct
Check if first rule is valid the second needs to be valid as well. If first rule is not valid true will be returned.
Signature
public function __construct(string
$field,
[string
$errorMsg = NULL,
[string
$errorMsgType = 'error',
[array
$args = NULL]]] )
Parameters
$field
— string- name of the field
$errorMsg
— string- the message to be displayed
$errorMsgType
— string- the css class added to the field on validation error
$args
— array- 2 sub rules