Changeset 9417 for temp/trunk
- Timestamp:
- 2006/11/29 18:11:21 (20 years ago)
- Location:
- temp/trunk
- Files:
-
- 2 edited
-
data/lib/slib.php (modified) (2 diffs)
-
html/admin/products/product.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/lib/slib.php
r9416 r9417 101 101 list($db_type) = split(":", $dsn); 102 102 103 // ¥«¥é¥à¥ê¥¹¥È¤ò¼èÆÀ 103 104 $arrRet = sfGetColumnList($table_name, $objQuery, $db_type); 104 105 if(count($arrRet) > 0) { … … 107 108 } 108 109 } 109 110 /*111 // postgresql¤Èmysql¤È¤Ç½èÍý¤òʬ¤±¤ë112 if ($db_type == "pgsql") {113 $sql = "SELECT114 a.attname115 FROM116 pg_class c, pg_attribute a117 WHERE118 c.relname=? AND119 a.attname=? AND120 c.oid=a.attrelid AND121 a.attnum > 0122 ORDER BY123 a.attnum";124 $arrRet = $objQuery->getAll($sql, array($table_name, $col_name));125 if(count($arrRet) > 0) {126 return true;127 }128 }else if ($db_type == "mysql") {129 $arrRet = sfGetColumnList($table_name, $objQuery);130 if(count($arrRet) > 0) {131 if(!in_array($col_name, $arrRet)){132 return true;133 }134 }135 }136 */137 110 } 138 111 -
temp/trunk/html/admin/products/product.php
r9412 r9417 348 348 349 349 // dtb_products_class ¤Î¥«¥é¥à¤ò¼èÆÀ 350 350 $arrColList = sfGetColumnList("dtb_products_class", $objQuery); 351 352 sfprintr($arrColList); 351 353 352 354 // ¥³¥Ô¡¼¾¦Éʤξì¹ç¤Ë¤Ïµ¬³Ê¤â¥³¥Ô¡¼¤¹¤ë
Note: See TracChangeset
for help on using the changeset viewer.
