Ignore:
Timestamp:
2013/05/02 18:11:36 (11 years ago)
Author:
h_yoshimoto
Message:

#2236 2.12.3リリース以降の2.12-devへのコミット差し戻し

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/db/SC_DB_DBFactory.php

    r22567 r22796  
    2929 * @version $Id:SC_DB_DBFactory.php 15532 2007-08-31 14:39:46Z nanasess $ 
    3030 */ 
    31 class SC_DB_DBFactory  
    32 { 
     31class SC_DB_DBFactory { 
    3332 
    3433    /** 
     
    3837     * @return mixed DBFactory インスタンス 
    3938     */ 
    40     function getInstance($db_type = DB_TYPE) 
    41     { 
     39    function getInstance($db_type = DB_TYPE) { 
    4240        switch ($db_type) { 
    4341            case 'mysql': 
     
    6260     * @return mixed データソース名またはDB接続パラメータの連想配列 
    6361     */ 
    64     function getDSN($dsn = '') 
    65     { 
     62    function getDSN($dsn = '') { 
    6663        if (empty($dsn)) { 
    6764            if (defined('DEFAULT_DSN')) { 
     
    8784     * @return string データベースのバージョン 
    8885     */ 
    89     function sfGetDBVersion($dsn = '') 
    90     { return null; } 
     86    function sfGetDBVersion($dsn = '') { return null; } 
    9187 
    9288    /** 
     
    9692     * @return string MySQL 用に置換した SQL 文 
    9793     */ 
    98     function sfChangeMySQL($sql) 
    99     { return null; } 
     94    function sfChangeMySQL($sql) { return null; } 
    10095 
    10196    /** 
     
    105100     * @return string 昨日の売上高・売上件数を算出する SQL 
    106101     */ 
    107     function getOrderYesterdaySql($method) 
    108     { return null; } 
     102    function getOrderYesterdaySql($method) { return null; } 
    109103 
    110104    /** 
     
    114108     * @return string 当月の売上高・売上件数を算出する SQL 
    115109     */ 
    116     function getOrderMonthSql($method) 
    117     { return null; } 
     110    function getOrderMonthSql($method) { return null; } 
    118111 
    119112    /** 
     
    122115     * @return string 昨日のレビュー書き込み件数を算出する SQL 
    123116     */ 
    124     function getReviewYesterdaySql() 
    125     { return null; } 
     117    function getReviewYesterdaySql() { return null; } 
    126118 
    127119    /** 
     
    130122     * @return string 検索条件の SQL 
    131123     */ 
    132     function getSendHistoryWhereStartdateSql() 
    133     { return null; } 
     124    function getSendHistoryWhereStartdateSql() { return null; } 
    134125 
    135126    /** 
     
    138129     * @return string 検索条件の SQL 
    139130     */ 
    140     function getDownloadableDaysWhereSql() 
    141     { return null; } 
     131    function getDownloadableDaysWhereSql() { return null; } 
    142132 
    143133    /** 
     
    147137     * @return string 連結後の SQL 文 
    148138     */ 
    149     function concatColumn($columns) 
    150     { return null; } 
     139    function concatColumn($columns) { return null; } 
    151140 
    152141    /** 
     
    159148     * @return array テーブル名の配列 
    160149     */ 
    161     function findTableNames($expression = '') 
    162     { return array(); } 
     150    function findTableNames($expression = '') { return array(); } 
    163151 
    164152    /** 
     
    171159     * @return array インデックス設定情報配列 
    172160     */ 
    173     function sfGetCreateIndexDefinition($table, $name, $definition) 
    174     { return $definition; } 
     161    function sfGetCreateIndexDefinition($table, $name, $definition) { return $definition; } 
    175162 
    176163    /** 
     
    180167     * @return void 
    181168     */ 
    182     function initObjQuery(SC_Query &$objQuery) 
    183     { 
     169    function initObjQuery(SC_Query &$objQuery) { 
    184170    } 
    185171 
     
    189175     * @return array テーブル名の配列 
    190176     */ 
    191     function listTables(SC_Query &$objQuery) 
    192     { 
     177    function listTables(SC_Query &$objQuery) { 
    193178        $objManager =& $objQuery->conn->loadModule('Manager'); 
    194179        return $objManager->listTables(); 
Note: See TracChangeset for help on using the changeset viewer.