Ignore:
Timestamp:
2008/06/10 11:23:27 (18 years ago)
Author:
adachi
Message:

Exクラスを使用するように修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2/data/class/helper/SC_Helper_DB.php

    r17333 r17345  
    5555     */ 
    5656    function sfGetDBVersion($dsn = "") { 
    57         $dbFactory = SC_DB_DBFactory::getInstance(); 
     57        $dbFactory = SC_DB_DBFactory_Ex::getInstance(); 
    5858        return $dbFactory->sfGetDBVersion($dsn); 
    5959    } 
     
    6767     */ 
    6868    function sfTabaleExists($table_name, $dsn = "") { 
    69         $dbFactory = SC_DB_DBFactory::getInstance(); 
     69        $dbFactory = SC_DB_DBFactory_Ex::getInstance(); 
    7070        $dsn = $dbFactory->getDSN($dsn); 
    7171 
     
    100100     */ 
    101101    function sfColumnExists($table_name, $col_name, $col_type = "", $dsn = "", $add = false) { 
    102         $dbFactory = SC_DB_DBFactory::getInstance(); 
     102        $dbFactory = SC_DB_DBFactory_Ex::getInstance(); 
    103103        $dsn = $dbFactory->getDSN($dsn); 
    104104 
     
    146146     */ 
    147147    function sfIndexExists($table_name, $col_name, $index_name, $length = "", $dsn = "", $add = false) { 
    148         $dbFactory = SC_DB_DBFactory::getInstance(); 
     148        $dbFactory = SC_DB_DBFactory_Ex::getInstance(); 
    149149        $dsn = $dbFactory->getDSN($dsn); 
    150150 
     
    180180     */ 
    181181    function sfDataExists($table_name, $where, $arrval, $dsn = "", $sql = "", $add = false) { 
    182         $dbFactory = SC_DB_DBFactory::getInstance(); 
     182        $dbFactory = SC_DB_DBFactory_Ex::getInstance(); 
    183183        $dsn = $dbFactory->getDSN($dsn); 
    184184 
Note: See TracChangeset for help on using the changeset viewer.