public function getReferencedRow($id, $table, $viaColumn = null, Filtering $filtering = null)
    {
        if ($viaColumn === null) {
            $viaColumn = $this->mapper->getRelationshipColumn($this->table, $table);
        }
        $result = $this->getReferencedResult($table, $viaColumn, $filtering);
        $rowId = $this->getDataEntry($id, $viaColumn);
        return $rowId === null ? null : $result->getRow($rowId);
    }
public function getReferencedRow($id, $table, $viaColumn = null, Filtering $filtering = null)
    {
        if ($viaColumn === null) {
            $viaColumn = $this->mapper->getRelationshipColumn($this->table, $table);
        }
        $result = $this->getReferencedResult($table, $viaColumn, $filtering);
        $rowId = $this->getDataEntry($id, $viaColumn);
        return $rowId === null ? null : $result->getRow($rowId);
    }
public function getReferencedRow ( $ id , $ table , $ viaColumn = null , Filtering $ filtering = null ) { if ( $ viaColumn === null ) { $ viaColumn = $ this -> mapper -> getRelationshipColumn ( $ this -> table , $ table ) ; } $ result = $ this -> getReferencedResult ( $ table , $ viaColumn , $ filtering ) ; $ rowId = $ this -> getDataEntry ( $ id , $ viaColumn ) ; return $ rowId === null ? null : $ result -> getRow ( $ rowId ) ; }
Creates new Row instance pointing to requested row in referenced Result

@param int $id
@param string $table
@param string|null $viaColumn
@param Filtering|null $filtering
@throws InvalidStateException
@return Row|null
Creates new Row instance pointing to requested row in referenced Result