Ignore:
Timestamp:
2013/06/08 16:35:27 (11 years ago)
Author:
Seasoft
Message:

#2043 (typo修正・ソース整形・ソースコメントの改善 for 2.13.0)

  • 主に空白・空白行の調整。もう少し整えたいが、一旦現状コミット。
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/pages/admin/ownersstore/LC_Page_Admin_OwnersStore.php

    r22567 r22856  
    2222 */ 
    2323 
    24 // {{{ requires 
    2524require_once CLASS_EX_REALDIR . 'page_extends/admin/LC_Page_Admin_Ex.php'; 
    2625 
     
    3231 * @version $Id$ 
    3332 */ 
    34 class LC_Page_Admin_OwnersStore extends LC_Page_Admin_Ex  
     33class LC_Page_Admin_OwnersStore extends LC_Page_Admin_Ex 
    3534{ 
    36  
    37     // }}} 
    38     // {{{ functions 
    39  
    4035    /** 
    4136     * Page を初期化する. 
     
    282277            return true; 
    283278        } 
     279 
    284280        return false; 
    285281    } 
     
    301297        // 結合 
    302298        $plugin_code = implode('.', $array_file_name); 
     299 
    303300        return $plugin_code; 
    304301    } 
     
    313310    { 
    314311        $plugin_dir_path = PLUGIN_UPLOAD_REALDIR . $plugin_code . '/'; 
     312 
    315313        return $plugin_dir_path; 
    316314    } 
     
    325323    { 
    326324        $plugin_html_dir_path = PLUGIN_HTML_REALDIR . $plugin_code . '/'; 
     325 
    327326        return $plugin_html_dir_path; 
    328327    } 
     
    338337    { 
    339338        $plugin_file_path = $this->getPluginDir($plugin_code) . $plugin_class . '.php'; 
     339 
    340340        return $plugin_file_path; 
    341341    } 
     
    428428        // 不要なファイルの削除 
    429429        SC_Helper_FileManager_Ex::deleteFile(DOWNLOADS_TEMP_PLUGIN_INSTALL_DIR, false); 
     430 
    430431        return $arrErr; 
    431432    } 
     
    455456    /** 
    456457     * プラグイン情報を取得します. 
    457      *  
     458     * 
    458459     * @param ReflectionClass $objReflection 
    459460     * @return array プラグイン情報の配列 
     
    488489            } 
    489490        } 
     491 
    490492        return $arrPluginInfo; 
    491493    } 
     
    558560            } 
    559561        } 
     562 
    560563        return $arrErr; 
    561564    } 
     
    640643            return $arrErr; 
    641644        } 
     645 
    642646        return $arrErr; 
    643647    } 
     
    747751        // UPDATEの実行 
    748752        $ret = $objQuery->update('dtb_plugin', $sqlval, $where, array($plugin_id)); 
     753 
    749754        return $ret; 
    750755    } 
     
    758763    function registerData($arrPluginInfo) 
    759764    { 
    760  
    761765        // プラグイン情報をDB登録. 
    762766        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
     
    819823            } 
    820824        } 
     825 
    821826        return $objQuery->commit(); 
    822827    } 
     
    833838        $arrErr = array(); 
    834839        if (file_exists($file_path)) { 
    835             require_once $file_path;  
     840            require_once $file_path; 
    836841        } else { 
    837842            $arrErr[$key] = '※ ' . $file_path .'の読み込みに失敗しました。<br/>'; 
    838843        } 
     844 
    839845        return $arrErr; 
    840846    } 
     
    860866            $arrErr['plugin_error'] = '※ ' . $class_name . '.php に' . $exec_func . 'が見つかりません。<br/>'; 
    861867        } 
     868 
    862869        return $arrErr; 
    863870    } 
     
    905912        // UPDATEの実行 
    906913        $ret = $objQuery->update('dtb_plugin', $sqlval, $where, array($plugin_id)); 
     914 
    907915        return $ret; 
    908916    } 
     
    953961            closedir($handle); 
    954962        } 
     963 
    955964        return false; 
    956965    } 
     
    970979            if ($value['filename'] === $file_path) return true; 
    971980        } 
     981 
    972982        return false; 
    973983    } 
     
    10201030            $conflict_alert_message .= '* ' .  $conflictPluginName . 'と競合する可能性があります。<br/>'; 
    10211031        } 
     1032 
    10221033        return $conflict_alert_message; 
    10231034    } 
     
    10341045            return true; 
    10351046        } 
     1047 
    10361048        return false; 
    10371049    } 
     
    10491061        $table = 'dtb_plugin_hookpoint'; 
    10501062        $where = 'plugin_id = ?'; 
     1063 
    10511064        return $objQuery->select('*', $table, $where, array($plugin_id)); 
    10521065    } 
Note: See TracChangeset for help on using the changeset viewer.