public function referenced($table, $viaColumn = null, Filtering $filtering = null)
    {
        if (array_key_exists($viaColumn, $this->referencedRows)) {
            return $this->referencedRows[$viaColumn];
        }
        return $this->result->getReferencedRow($this->id, $table, $viaColumn, $filtering);
    }
public function referenced($table, $viaColumn = null, Filtering $filtering = null)
    {
        if (array_key_exists($viaColumn, $this->referencedRows)) {
            return $this->referencedRows[$viaColumn];
        }
        return $this->result->getReferencedRow($this->id, $table, $viaColumn, $filtering);
    }
public function referenced ( $ table , $ viaColumn = null , Filtering $ filtering = null ) { if ( array_key_exists ( $ viaColumn , $ this -> referencedRows ) ) { return $ this -> referencedRows [ $ viaColumn ] ; } return $ this -> result -> getReferencedRow ( $ this -> id , $ table , $ viaColumn , $ filtering ) ; }
Gets referenced Row instance

@param string $table
@param string|null $viaColumn
@param Filtering|null $filtering
@return Row|null
Gets referenced Row instance