예제 #1
0
 public function addAll(Gpf_DbEngine_Table $table, $tableAlias = '')
 {
     $alias = '';
     if ($tableAlias != '') {
         $alias = $tableAlias . '.';
     }
     foreach ($table->getColumns() as $column) {
         $this->add($alias . $column->getName());
     }
 }
예제 #2
0
 /**
  * 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();
 }
예제 #3
0
 public function addAll(Gpf_DbEngine_Table $table, $tableAlias = '')
 {
     foreach ($table->getColumns() as $column) {
         $this->add($column->getName(), $column->getName(), $tableAlias);
     }
 }