public function prepareRelationFilter($type)
    {
        if (!array_key_exists($type, $this->filters) || !is_array($this->filters[$type])) {
            $this->filters[$type] = array();
        }
        return $this;
    }
public function prepareRelationFilter($type)
    {
        if (!array_key_exists($type, $this->filters) || !is_array($this->filters[$type])) {
            $this->filters[$type] = array();
        }
        return $this;
    }
public function prepareRelationFilter ( $ type ) { if ( ! array_key_exists ( $ type , $ this -> filters ) || ! is_array ( $ this -> filters [ $ type ] ) ) { $ this -> filters [ $ type ] = array ( ) ; } return $ this ; }
Prepopulates a special relation query
@param  string $type
@return Query
Prepopulates a special relation query