Ignore:
Timestamp:
2013/05/02 18:11:36 (13 years ago)
Author:
h_yoshimoto
Message:

#2236 2.12.3リリース以降の2.12-devへのコミット差し戻し

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/pages/LC_Page.php

    r22567 r22796  
    3333 * @version $Id:LC_Page.php 15532 2007-08-31 14:39:46Z nanasess $ 
    3434 */ 
    35 class LC_Page  
    36 { 
     35class LC_Page { 
    3736 
    3837    // {{{ properties 
     
    8584     * @return void 
    8685     */ 
    87     function init() 
    88     { 
     86    function init() { 
    8987        // 開始時刻を設定する。 
    9088        $this->timeStart = microtime(true); 
     
    119117     * @return void 
    120118     */ 
    121     function process() 
    122     {} 
     119    function process() {} 
    123120 
    124121    /** 
     
    127124     * @return void 
    128125     */ 
    129     function sendResponse() 
    130     { 
     126    function sendResponse() { 
    131127        $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    132128        // ローカルフックポイントを実行. 
     
    155151     * @return void 
    156152     */ 
    157     function sendResponseCSV($file_name, $data) 
    158     { 
     153    function sendResponseCSV($file_name, $data) { 
    159154        $this->objDisplay->prepare($this); 
    160155        $this->objDisplay->addHeader('Content-disposition', "attachment; filename=${file_name}"); 
     
    173168     * @return void 
    174169     */ 
    175     function destroy() 
    176     { 
     170    function destroy() { 
    177171        // 一定時間以上かかったページの場合、ログ出力する。 
    178172        // エラー画面の表示では $this->timeStart が出力されない 
     
    193187     * @return void 
    194188     */ 
    195     function doLocalHookpointBefore(SC_Helper_Plugin_Ex $objPlugin) 
    196     { 
     189    function doLocalHookpointBefore(SC_Helper_Plugin_Ex $objPlugin) { 
    197190        // ローカルフックポイントを実行 
    198191        $parent_class_name = get_parent_class($this); 
     
    212205     * @return void 
    213206     */ 
    214     function doLocalHookpointAfter(SC_Helper_Plugin_Ex $objPlugin) 
    215     { 
     207    function doLocalHookpointAfter(SC_Helper_Plugin_Ex $objPlugin) { 
    216208        // ローカルフックポイントを実行 
    217209        $parent_class_name = get_parent_class($this); 
     
    229221     * 
    230222     */ 
    231     function getTemplate() 
    232     { 
     223    function getTemplate() { 
    233224        return $this->template; 
    234225    } 
     
    238229     * 
    239230     */ 
    240     function setTemplate($template) 
    241     { 
     231    function setTemplate($template) { 
    242232        $this->template = $template; 
    243233    } 
     
    263253     * @see Net_URL 
    264254     */ 
    265     function getLocation($path, $param = array(), $useSSL = 'escape') 
    266     { 
     255    function getLocation($path, $param = array(), $useSSL = 'escape') { 
    267256        $rootPath = $this->getRootPath($path); 
    268257 
     
    297286     * @return string EC-CUBE のWEBルート(/html/)を / としたパス 
    298287     */ 
    299     function getRootPath($path) 
    300     { 
     288    function getRootPath($path) { 
    301289        // Windowsの場合は, ディレクトリの区切り文字を\から/に変換する 
    302290        $path = str_replace('\\', '/', $path); 
     
    336324     * @deprecated 決済モジュール互換のため 
    337325     */ 
    338     function allowClientCache() 
    339     { 
     326    function allowClientCache() { 
    340327        $this->httpCacheControl('private'); 
    341328    } 
     
    348335     * @return void 
    349336     */ 
    350     function httpCacheControl($mode = '') 
    351     { 
     337    function httpCacheControl($mode = '') { 
    352338        switch ($mode) { 
    353339            case 'nocache': 
     
    384370     * @return string $_GET['mode'] 又は $_POST['mode'] の文字列 
    385371     */ 
    386     function getMode() 
    387     { 
     372    function getMode() { 
    388373        $pattern = '/^[a-zA-Z0-9_]+$/'; 
    389374        $mode = null; 
     
    411396     * @return void 
    412397     */ 
    413     function doValidToken($is_admin = false) 
    414     { 
     398    function doValidToken($is_admin = false) { 
    415399        if ($_SERVER['REQUEST_METHOD'] == 'POST') { 
    416400            if (!SC_Helper_Session_Ex::isValidToken(false)) { 
     
    431415     * @return void 
    432416     */ 
    433     function setTokenTo() 
    434     { 
     417    function setTokenTo() { 
    435418        $this->transactionid = SC_Helper_Session_Ex::getToken(); 
    436419    } 
     
    441424     * @deprecated 2.12.0 GC_Utils_Ex::gfPrintLog を使用すること 
    442425     */ 
    443     function log($mess, $log_level) 
    444     { 
     426    function log($mess, $log_level) { 
    445427        trigger_error('前方互換用メソッドが使用されました。', E_USER_WARNING); 
    446428        // ログレベル=Debugの場合は、DEBUG_MODEがtrueの場合のみログ出力する 
     
    462444     * @return void 
    463445     */ 
    464     function p($val) 
    465     { 
     446    function p($val) { 
    466447        SC_Utils_Ex::sfPrintR($val); 
    467448    } 
Note: See TracChangeset for help on using the changeset viewer.