Пример #1
0
 /**
  * @param $table
  *
  * @return DbCommand
  */
 public function naturalJoin($table)
 {
     $this->_addJoinedTable($table);
     $table = $this->getConnection()->addTablePrefix($table);
     return parent::naturalJoin($table);
 }
Пример #2
0
 /**
  * @param $table
  * @return DbCommand
  */
 public function naturalJoin($table)
 {
     $table = DbHelper::addTablePrefix($table);
     return parent::naturalJoin($table);
 }