コード例 #1
0
ファイル: core.php プロジェクト: rcapp/kohana-jelly
 /**
  * Adds addition tables to "JOIN ...".
  *
  * @param   mixed   column name or array($column, $alias) or object
  * @param   string  join type (LEFT, RIGHT, INNER, etc)
  * @return  $this
  */
 public function join($table, $type = NULL)
 {
     if (is_array($table)) {
         $table[0] = $this->_table($table[0]);
     } else {
         $table = $this->_table($table);
     }
     return parent::join($table, $type);
 }