public function required() {
		if(isset($this->params['required']))
			return !!$this->params['required'];
		if(isset($this->params['validation']['required']))
			return !!$this->params['validation']['required'];
	}
public function required() {
		if(isset($this->params['required']))
			return !!$this->params['required'];
		if(isset($this->params['validation']['required']))
			return !!$this->params['validation']['required'];
	}
public function required ( ) { if ( isset ( $ this -> params [ 'required' ] ) ) return ! ! $ this -> params [ 'required' ] ; if ( isset ( $ this -> params [ 'validation' ] [ 'required' ] ) ) return ! ! $ this -> params [ 'validation' ] [ 'required' ] ; }
Check if entity is required.
@return boolean
Check if entity is required .