Changeset 19144


Ignore:
Timestamp:
2010/11/06 23:04:58 (13 years ago)
Author:
miningbrownie
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/camp/camp-2_5-E/data/class/pages/admin/system/LC_Page_Admin_System_Plugin.php

    r18979 r19144  
    7272        $objView = new SC_AdminView(); 
    7373        $this->initForm(); 
    74         $arrPlugins = array(); 
     74 
    7575        switch($this->objForm->getValue('mode')) { 
    7676            // PHP INFOを表示 
    7777            case 'install': 
    78                  
     78 
    7979                break; 
    8080            case 'uninstall': 
    81                  
     81 
    8282                break; 
    8383            case 'enable': 
    84                  
     84 
    8585                break; 
    8686            case 'disable': 
    87                  
     87 
    8888                break; 
    8989            default: 
     90                $plugins = SC_Helper_Plugin::getAllPlugin(); 
     91                var_dump($plugins); 
    9092                break; 
    9193        } 
     
    9799    } 
    98100 
    99      
     101 
    100102    function searchPlugins(){ 
    101       $plugin_dir = DATA_PATH."/plugin/"; 
    102       if($dh = opendir($plugin_dir)){ 
    103           while(($file = readdir($dh) !== false)){ 
    104              if(is_dir($plugin_dir."/".$file)){ 
    105                                 
    106              } 
    107           } 
    108       } 
     103        $plugin_dir = DATA_PATH."/plugin/"; 
     104        if($dh = opendir($plugin_dir)){ 
     105            while(($file = readdir($dh) !== false)){ 
     106                if(is_dir($plugin_dir."/".$file)){ 
     107                      
     108                } 
     109            } 
     110        } 
    109111          
    110          
    111          
     112 
     113 
    112114    } 
    113      
    114      
     115 
     116 
    115117    /** 
    116118     * デストラクタ. 
Note: See TracChangeset for help on using the changeset viewer.