Changeset 9417 for temp/trunk


Ignore:
Timestamp:
2006/11/29 18:11:21 (20 years ago)
Author:
kakinaka
Message:

blank

Location:
temp/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/data/lib/slib.php

    r9416 r9417  
    101101        list($db_type) = split(":", $dsn); 
    102102         
     103        // ¥«¥é¥à¥ê¥¹¥È¤ò¼èÆÀ 
    103104        $arrRet = sfGetColumnList($table_name, $objQuery, $db_type); 
    104105        if(count($arrRet) > 0) { 
     
    107108            } 
    108109        } 
    109  
    110         /* 
    111         // postgresql¤Èmysql¤È¤Ç½èÍý¤òʬ¤±¤ë 
    112         if ($db_type == "pgsql") { 
    113             $sql = "SELECT 
    114                         a.attname 
    115                     FROM 
    116                         pg_class c, pg_attribute a 
    117                     WHERE 
    118                         c.relname=? AND 
    119                         a.attname=? AND 
    120                         c.oid=a.attrelid AND 
    121                         a.attnum > 0 
    122                     ORDER BY 
    123                         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         */ 
    137110    } 
    138111     
  • temp/trunk/html/admin/products/product.php

    r9412 r9417  
    348348         
    349349        // dtb_products_class ¤Î¥«¥é¥à¤ò¼èÆÀ 
    350          
     350        $arrColList = sfGetColumnList("dtb_products_class", $objQuery); 
     351         
     352        sfprintr($arrColList); 
    351353         
    352354        // ¥³¥Ô¡¼¾¦Éʤξì¹ç¤Ë¤Ïµ¬³Ê¤â¥³¥Ô¡¼¤¹¤ë 
Note: See TracChangeset for help on using the changeset viewer.