public function __construct($errorMsg, $compareWith) { parent::__construct($errorMsg); $this->_compareWith = $compareWith; }
public function __construct($errorMsg, $format) { parent::__construct($errorMsg); $this->_format = $format; }
public function __construct($errorMsg, $length) { parent::__construct($errorMsg); $this->_length = $length; }
public function __construct($errorMsg, $field, $condition) { parent::__construct($errorMsg); $this->_field = $field; $this->_condition = $condition; }
public function __construct($errorMsg, $checkFunctionCallback, $params = array()) { parent::__construct($errorMsg); $this->_checkFunction = $checkFunctionCallback; $this->_params = $params; }