src/ORM/Filters/SearchFilter.php
protected function addRelation($name)
    {
        if (strstr($name, '.')) {
            $parts = explode('.', $name);
            $this->name = array_pop($parts);
            $this->relation = $parts;
        } else {
            $this->name = $name;
        }
    }
protected function addRelation($name)
    {
        if (strstr($name, '.')) {
            $parts = explode('.', $name);
            $this->name = array_pop($parts);
            $this->relation = $parts;
        } else {
            $this->name = $name;
        }
    }
protected function addRelation ( $ name ) { if ( strstr ( $ name , '.' ) ) { $ parts = explode ( '.' , $ name ) ; $ this -> name = array_pop ( $ parts ) ; $ this -> relation = $ parts ; } else { $ this -> name = $ name ; } }
Called by constructor to convert a string pathname into
a well defined relationship sequence.

@param string $name
Called by constructor to convert a string pathname into a well defined relationship sequence .