Changeset 17345 for branches/version-2/data/class/helper/SC_Helper_DB.php
- Timestamp:
- 2008/06/10 11:23:27 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2/data/class/helper/SC_Helper_DB.php
r17333 r17345 55 55 */ 56 56 function sfGetDBVersion($dsn = "") { 57 $dbFactory = SC_DB_DBFactory ::getInstance();57 $dbFactory = SC_DB_DBFactory_Ex::getInstance(); 58 58 return $dbFactory->sfGetDBVersion($dsn); 59 59 } … … 67 67 */ 68 68 function sfTabaleExists($table_name, $dsn = "") { 69 $dbFactory = SC_DB_DBFactory ::getInstance();69 $dbFactory = SC_DB_DBFactory_Ex::getInstance(); 70 70 $dsn = $dbFactory->getDSN($dsn); 71 71 … … 100 100 */ 101 101 function sfColumnExists($table_name, $col_name, $col_type = "", $dsn = "", $add = false) { 102 $dbFactory = SC_DB_DBFactory ::getInstance();102 $dbFactory = SC_DB_DBFactory_Ex::getInstance(); 103 103 $dsn = $dbFactory->getDSN($dsn); 104 104 … … 146 146 */ 147 147 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(); 149 149 $dsn = $dbFactory->getDSN($dsn); 150 150 … … 180 180 */ 181 181 function sfDataExists($table_name, $where, $arrval, $dsn = "", $sql = "", $add = false) { 182 $dbFactory = SC_DB_DBFactory ::getInstance();182 $dbFactory = SC_DB_DBFactory_Ex::getInstance(); 183 183 $dsn = $dbFactory->getDSN($dsn); 184 184
Note: See TracChangeset
for help on using the changeset viewer.
