public function validateData($property, $validations = null)
    {
        $value = $this->_mixer->get($property);
        $ret = $this->_mixer->getValidator()
                        ->validateData($this->_mixer, $property, $value, $validations);

        return $ret !== false;
    }
public function validateData($property, $validations = null)
    {
        $value = $this->_mixer->get($property);
        $ret = $this->_mixer->getValidator()
                        ->validateData($this->_mixer, $property, $value, $validations);

        return $ret !== false;
    }
public function validateData ( $ property , $ validations = null ) { $ value = $ this -> _mixer -> get ( $ property ) ; $ ret = $ this -> _mixer -> getValidator ( ) -> validateData ( $ this -> _mixer , $ property , $ value , $ validations ) ; return $ ret !== false ; }
Validates an entity properties values using the passed validations.
If no validations are passed, the properties are validated using their
default validations.

@param string|array $property    One or more properties to validate
@param array        $validations The validations to use

@return bool
Validates an entity properties values using the passed validations . If no validations are passed the properties are validated using their default validations .