Changeset 17345


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

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

Location:
branches/version-2/data
Files:
7 edited

Legend:

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

    r17205 r17345  
    6666        $this->error_mail_title = DB_ERROR_MAIL_SUBJECT; 
    6767        $this->err_disp = $err_disp; 
    68         $this->dbFactory = SC_DB_DBFactory::getInstance(); 
     68        $this->dbFactory = SC_DB_DBFactory_Ex::getInstance(); 
    6969    } 
    7070 
  • branches/version-2/data/class/SC_Query.php

    r16995 r17345  
    9191        $sqlse = $this->getsql($col, $table, $where); 
    9292        // DBに依存した SQL へ変換 
    93         $dbFactory = SC_DB_DBFactory::getInstance(); 
     93        $dbFactory = SC_DB_DBFactory_Ex::getInstance(); 
    9494        $sqlse = $dbFactory->sfChangeMySQL($sqlse); 
    9595        $ret = $this->conn->getAll($sqlse, $arrval); 
  • 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 
  • branches/version-2/data/class/pages/admin/products/LC_Page_Admin_Products_Product.php

    r17056 r17345  
    454454            if($_POST["copy_product_id"] != "" and SC_Utils_Ex::sfIsInt($_POST["copy_product_id"])){ 
    455455                // dtb_products_class のカラムを取得 
    456                 $dbFactory = SC_DB_DBFactory::getInstance(); 
     456                $dbFactory = SC_DB_DBFactory_Ex::getInstance(); 
    457457                $arrColList = $dbFactory->sfGetColumnList("dtb_products_class", $objQuery); 
    458458                $arrColList_tmp = array_flip($arrColList); 
  • branches/version-2/data/class/pages/admin/system/LC_Page_Admin_System_Masterdata.php

    r17267 r17345  
    145145     */ 
    146146    function getMasterDataNames($ignores = array()) { 
    147         $dbFactory = SC_DB_DBFactory::getInstance(); 
     147        $dbFactory = SC_DB_DBFactory_Ex::getInstance(); 
    148148        $arrMasterDataName = $dbFactory->findTableNames("mtb_"); 
    149149 
  • branches/version-2/data/class/pages/admin/system/LC_Page_Admin_System_System.php

    r17332 r17345  
    106106     */ 
    107107    function getSystemInfo() { 
    108         $objDB = SC_DB_DBFactory::getInstance(); 
     108        $objDB = SC_DB_DBFactory_Ex::getInstance(); 
    109109 
    110110        $arrSystemInfo = array( 
  • branches/version-2/data/include/module.inc

    r17179 r17345  
    3131require_once CLASS_PATH . 'SC_DbConn.php'; 
    3232require_once CLASS_PATH . 'SC_Query.php'; 
    33 require_once CLASS_PATH . 'db/SC_DB_DBFactory.php'; 
     33require_once CLASS_EX_PATH . 'db_extends/SC_DB_DBFactory_Ex.php'; 
    3434 
    3535/** 
Note: See TracChangeset for help on using the changeset viewer.