public function getRelatedType($name)
    {
        list($relationship, $role) = $this->getRelationship($name);
        if ($relationship) {
            return $relationship->roleType($role);
        }

        return false;
    }
public function getRelatedType($name)
    {
        list($relationship, $role) = $this->getRelationship($name);
        if ($relationship) {
            return $relationship->roleType($role);
        }

        return false;
    }
public function getRelatedType ( $ name ) { list ( $ relationship , $ role ) = $ this -> getRelationship ( $ name ) ; if ( $ relationship ) { return $ relationship -> roleType ( $ role ) ; } return false ; }
Get related type.

@param [[@doctodo param_type:name]] $name [[@doctodo param_description:name]]

@return [[@doctodo return_type:getRelatedType]] [[@doctodo return_description:getRelatedType]]
Get related type .