function property_validation_validator::__construct in Field Validation 7.2
Save arguments locally.
File
- property_validation/
property_validation_validator.inc, line 23 - Basic class for property validation validator.
Class
Code
function __construct($entity_type = 'node', $entity = NULL, $value = '', $rule = NULL, &$errors = array()) {
$this->entity_type = $entity_type;
$this->entity = $entity;
$this->value = $value;
$this->rule = $rule;
$this->errors =& $errors;
}