示例#1
0
 /**
  * 
  * @param type $table
  * @param type $conditions
  * @param type $params
  * @return CDbCommandEx
  */
 public function leftJoin($table, $conditions, $params = array())
 {
     return parent::leftJoin($table, $this->processConditionsEx($conditions), $params);
 }
示例#2
0
 /**
  * @param string $table
  * @param mixed  $conditions
  * @param array  $params
  *
  * @return DbCommand
  */
 public function leftJoin($table, $conditions, $params = array())
 {
     $this->_addJoinedTable($table);
     $table = $this->getConnection()->addTablePrefix($table);
     $conditions = $this->_normalizeConditions($conditions, $params);
     return parent::leftJoin($table, $conditions, $params);
 }
示例#3
0
 /**
  * @param string $table
  * @param mixed $conditions
  * @param array $params
  * @return DbCommand
  */
 public function leftJoin($table, $conditions, $params = array())
 {
     $table = DbHelper::addTablePrefix($table);
     $conditions = $this->_normalizeConditions($conditions, $params);
     return parent::leftJoin($table, $conditions, $params);
 }