public function getModelStaticValidationRules()
    {
        $model = $this->getDataModel();

        return isset($model::$rules) && is_array($model::$rules) ? $model::$rules : false;
    }
public function getModelStaticValidationRules()
    {
        $model = $this->getDataModel();

        return isset($model::$rules) && is_array($model::$rules) ? $model::$rules : false;
    }
public function getModelStaticValidationRules ( ) { $ model = $ this -> getDataModel ( ) ; return isset ( $ model :: $ rules ) && is_array ( $ model :: $ rules ) ? $ model :: $ rules : false ; }
Gets the static rules propery for a model if one exists.

@return mixed
Gets the static rules propery for a model if one exists .