protected function getRelationType()
    {
        list($model, $attribute) = $this->resolveModelAttribute($this->valueFrom);
        return $model->getRelationType($attribute);
    }
protected function getRelationType()
    {
        list($model, $attribute) = $this->resolveModelAttribute($this->valueFrom);
        return $model->getRelationType($attribute);
    }
protected function getRelationType ( ) { list ( $ model , $ attribute ) = $ this -> resolveModelAttribute ( $ this -> valueFrom ) ; return $ model -> getRelationType ( $ attribute ) ; }
Returns the value as a relation type from the model,
supports nesting via HTML array.
@return Relation
Returns the value as a relation type from the model supports nesting via HTML array .