Changeset 8778 for temp


Ignore:
Timestamp:
2006/11/21 18:26:30 (20 years ago)
Author:
uehara
Message:

blank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/test/uehara/test.php

    r8777 r8778  
    1818     
    1919    sfGetFileTreeSub($dir, $default_rank, $cnt, $arrTree); 
    20      
    21 print_r($arrTree); 
    2220} 
    2321 
    24 function sfGetFileTreeSub($dir, $default_rank, $cnt, &$arrTree) { 
     22function sfGetFileTreeSub($dir, $default_rank, &$cnt, &$arrTree) { 
    2523     
    2624    if(file_exists($dir)) { 
     
    4644                         
    4745                        // javascript¤Î¥Ä¥ê¡¼À¸À®ÍѤÎÇÛÎó¤òºîÀ® 
    48                         $arrTree[] = array($cnt, $file_type, $path, $rank); 
     46                        $arrTree[$cnt] = array($cnt, $file_type, $path, $rank); 
    4947                        $cnt++; 
    5048                        // ²¼Áإǥ£¥ì¥¯¥È¥ê¼èÆÀ¤Î°Ù¡¢ºÆµ¢Åª¤Ë¸Æ¤Ó½Ð¤¹ 
Note: See TracChangeset for help on using the changeset viewer.