public function addAll(Gpf_DbEngine_Table $table, $tableAlias = '') { $alias = ''; if ($tableAlias != '') { $alias = $tableAlias . '.'; } foreach ($table->getColumns() as $column) { $this->add($alias . $column->getName()); } }
/** * Sets table of the Db_Row object * * @param Gpf_DbEngine_Table $table */ protected function setTable(Gpf_DbEngine_Table $table) { $this->table = $table; $this->tableColumns = $table->getColumns(); }
public function addAll(Gpf_DbEngine_Table $table, $tableAlias = '') { foreach ($table->getColumns() as $column) { $this->add($column->getName(), $column->getName(), $tableAlias); } }