Ignore:
Timestamp:
2010/12/16 23:29:12 (13 years ago)
Author:
Seasoft
Message:

#855(SC_Query の #select, #getRow, #getCol, #get, #min, #max の引数順を統一する)

  • SC_Query#max を改訂
  • SC_Query#min を改訂
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/SC_Query.php

    r19731 r19732  
    513513     * @return integer MAX文の実行結果 
    514514     */ 
    515     function max($table, $col, $where = "", $arrval = array()) { 
     515    function max($col, $table, $where = "", $arrval = array()) { 
    516516        $ret = $this->get($table, "MAX($col)", $where, $arrval); 
    517517        return $ret; 
     
    527527     * @return integer MIN文の実行結果 
    528528     */ 
    529     function min($table, $col, $where = "", $arrval = array()) { 
     529    function min($col, $table, $where = "", $arrval = array()) { 
    530530        $ret = $this->get($table, "MIN($col)", $where, $arrval); 
    531531        return $ret; 
Note: See TracChangeset for help on using the changeset viewer.