Nette\Database\Conventions\StaticConventions::getBelongsToReference PHP Метод

getBelongsToReference() публичный Метод

public getBelongsToReference ( $table, $key )
    public function getBelongsToReference($table, $key)
    {
        $table = $this->getColumnFromTable($table);
        return [sprintf($this->table, $key, $table), sprintf($this->foreign, $key, $table)];
    }