public function __construct($name, NTableSelection $refTable, $column) { parent::__construct($name, $refTable->connection); $this->refTable = $refTable; $this->column = $column; $this->delimitedColumn = $this->connection->getSupplementalDriver()->delimite($this->column); }
/** * Creates filtered and grouped table representation. * @param NTableSelection $refTable * @param string database table name * @param string joining column */ public function __construct(NTableSelection $refTable, $table, $column) { parent::__construct($table, $refTable->connection); $this->refTable = $refTable; $this->column = $column; }