Ignore:
Timestamp:
2013/02/18 19:09:54 (11 years ago)
Author:
shutta
Message:

#2043 (typo修正・ソース整形・ソースコメントの改善 for 2.12.4)
Zend Framework PHP 標準コーディング規約のコーディングスタイルへ準拠。
classおよびfunctionの開始波括弧「{」のスタイルを修正。

File:
1 edited

Legend:

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

    r22206 r22567  
    2929 * @version $Id:SC_DB_DBFactory.php 15532 2007-08-31 14:39:46Z nanasess $ 
    3030 */ 
    31 class SC_DB_DBFactory { 
     31class SC_DB_DBFactory  
     32{ 
    3233 
    3334    /** 
     
    3738     * @return mixed DBFactory インスタンス 
    3839     */ 
    39     function getInstance($db_type = DB_TYPE) { 
     40    function getInstance($db_type = DB_TYPE) 
     41    { 
    4042        switch ($db_type) { 
    4143            case 'mysql': 
     
    6062     * @return mixed データソース名またはDB接続パラメータの連想配列 
    6163     */ 
    62     function getDSN($dsn = '') { 
     64    function getDSN($dsn = '') 
     65    { 
    6366        if (empty($dsn)) { 
    6467            if (defined('DEFAULT_DSN')) { 
     
    8487     * @return string データベースのバージョン 
    8588     */ 
    86     function sfGetDBVersion($dsn = '') { return null; } 
     89    function sfGetDBVersion($dsn = '') 
     90    { return null; } 
    8791 
    8892    /** 
     
    9296     * @return string MySQL 用に置換した SQL 文 
    9397     */ 
    94     function sfChangeMySQL($sql) { return null; } 
     98    function sfChangeMySQL($sql) 
     99    { return null; } 
    95100 
    96101    /** 
     
    100105     * @return string 昨日の売上高・売上件数を算出する SQL 
    101106     */ 
    102     function getOrderYesterdaySql($method) { return null; } 
     107    function getOrderYesterdaySql($method) 
     108    { return null; } 
    103109 
    104110    /** 
     
    108114     * @return string 当月の売上高・売上件数を算出する SQL 
    109115     */ 
    110     function getOrderMonthSql($method) { return null; } 
     116    function getOrderMonthSql($method) 
     117    { return null; } 
    111118 
    112119    /** 
     
    115122     * @return string 昨日のレビュー書き込み件数を算出する SQL 
    116123     */ 
    117     function getReviewYesterdaySql() { return null; } 
     124    function getReviewYesterdaySql() 
     125    { return null; } 
    118126 
    119127    /** 
     
    122130     * @return string 検索条件の SQL 
    123131     */ 
    124     function getSendHistoryWhereStartdateSql() { return null; } 
     132    function getSendHistoryWhereStartdateSql() 
     133    { return null; } 
    125134 
    126135    /** 
     
    129138     * @return string 検索条件の SQL 
    130139     */ 
    131     function getDownloadableDaysWhereSql() { return null; } 
     140    function getDownloadableDaysWhereSql() 
     141    { return null; } 
    132142 
    133143    /** 
     
    137147     * @return string 連結後の SQL 文 
    138148     */ 
    139     function concatColumn($columns) { return null; } 
     149    function concatColumn($columns) 
     150    { return null; } 
    140151 
    141152    /** 
     
    148159     * @return array テーブル名の配列 
    149160     */ 
    150     function findTableNames($expression = '') { return array(); } 
     161    function findTableNames($expression = '') 
     162    { return array(); } 
    151163 
    152164    /** 
     
    159171     * @return array インデックス設定情報配列 
    160172     */ 
    161     function sfGetCreateIndexDefinition($table, $name, $definition) { return $definition; } 
     173    function sfGetCreateIndexDefinition($table, $name, $definition) 
     174    { return $definition; } 
    162175 
    163176    /** 
     
    167180     * @return void 
    168181     */ 
    169     function initObjQuery(SC_Query &$objQuery) { 
     182    function initObjQuery(SC_Query &$objQuery) 
     183    { 
    170184    } 
    171185 
     
    175189     * @return array テーブル名の配列 
    176190     */ 
    177     function listTables(SC_Query &$objQuery) { 
     191    function listTables(SC_Query &$objQuery) 
     192    { 
    178193        $objManager =& $objQuery->conn->loadModule('Manager'); 
    179194        return $objManager->listTables(); 
Note: See TracChangeset for help on using the changeset viewer.