- Timestamp:
- 2013/05/02 18:11:36 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/db/SC_DB_DBFactory.php
r22567 r22796 29 29 * @version $Id:SC_DB_DBFactory.php 15532 2007-08-31 14:39:46Z nanasess $ 30 30 */ 31 class SC_DB_DBFactory 32 { 31 class SC_DB_DBFactory { 33 32 34 33 /** … … 38 37 * @return mixed DBFactory インスタンス 39 38 */ 40 function getInstance($db_type = DB_TYPE) 41 { 39 function getInstance($db_type = DB_TYPE) { 42 40 switch ($db_type) { 43 41 case 'mysql': … … 62 60 * @return mixed データソース名またはDB接続パラメータの連想配列 63 61 */ 64 function getDSN($dsn = '') 65 { 62 function getDSN($dsn = '') { 66 63 if (empty($dsn)) { 67 64 if (defined('DEFAULT_DSN')) { … … 87 84 * @return string データベースのバージョン 88 85 */ 89 function sfGetDBVersion($dsn = '') 90 { return null; } 86 function sfGetDBVersion($dsn = '') { return null; } 91 87 92 88 /** … … 96 92 * @return string MySQL 用に置換した SQL 文 97 93 */ 98 function sfChangeMySQL($sql) 99 { return null; } 94 function sfChangeMySQL($sql) { return null; } 100 95 101 96 /** … … 105 100 * @return string 昨日の売上高・売上件数を算出する SQL 106 101 */ 107 function getOrderYesterdaySql($method) 108 { return null; } 102 function getOrderYesterdaySql($method) { return null; } 109 103 110 104 /** … … 114 108 * @return string 当月の売上高・売上件数を算出する SQL 115 109 */ 116 function getOrderMonthSql($method) 117 { return null; } 110 function getOrderMonthSql($method) { return null; } 118 111 119 112 /** … … 122 115 * @return string 昨日のレビュー書き込み件数を算出する SQL 123 116 */ 124 function getReviewYesterdaySql() 125 { return null; } 117 function getReviewYesterdaySql() { return null; } 126 118 127 119 /** … … 130 122 * @return string 検索条件の SQL 131 123 */ 132 function getSendHistoryWhereStartdateSql() 133 { return null; } 124 function getSendHistoryWhereStartdateSql() { return null; } 134 125 135 126 /** … … 138 129 * @return string 検索条件の SQL 139 130 */ 140 function getDownloadableDaysWhereSql() 141 { return null; } 131 function getDownloadableDaysWhereSql() { return null; } 142 132 143 133 /** … … 147 137 * @return string 連結後の SQL 文 148 138 */ 149 function concatColumn($columns) 150 { return null; } 139 function concatColumn($columns) { return null; } 151 140 152 141 /** … … 159 148 * @return array テーブル名の配列 160 149 */ 161 function findTableNames($expression = '') 162 { return array(); } 150 function findTableNames($expression = '') { return array(); } 163 151 164 152 /** … … 171 159 * @return array インデックス設定情報配列 172 160 */ 173 function sfGetCreateIndexDefinition($table, $name, $definition) 174 { return $definition; } 161 function sfGetCreateIndexDefinition($table, $name, $definition) { return $definition; } 175 162 176 163 /** … … 180 167 * @return void 181 168 */ 182 function initObjQuery(SC_Query &$objQuery) 183 { 169 function initObjQuery(SC_Query &$objQuery) { 184 170 } 185 171 … … 189 175 * @return array テーブル名の配列 190 176 */ 191 function listTables(SC_Query &$objQuery) 192 { 177 function listTables(SC_Query &$objQuery) { 193 178 $objManager =& $objQuery->conn->loadModule('Manager'); 194 179 return $objManager->listTables();
Note: See TracChangeset
for help on using the changeset viewer.