Ignore:
Timestamp:
2013/05/02 18:11:36 (11 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/upgrade/helper/LC_Upgrade_Helper_Json.php

    r22567 r22796  
    44 * 
    55 */ 
    6 class LC_Upgrade_Helper_Json extends Services_JSON  
    7 { 
     6class LC_Upgrade_Helper_Json extends Services_JSON { 
    87    /** */ 
    98    var $arrData = array( 
     
    1918     * @return SC_Upgrade_Helper_Json 
    2019     */ 
    21     function __construct() 
    22     { 
     20    function __construct() { 
    2321        parent::Services_JSON(); 
    2422    } 
     
    2826     * 
    2927     */ 
    30     function isError() 
    31     { 
     28    function isError() { 
    3229        return $this->isSuccess() ? false : true; 
    3330    } 
    3431 
    35     function isSuccess() 
    36     { 
     32    function isSuccess() { 
    3733        if ($this->arrData['status'] === OSTORE_STATUS_SUCCESS) { 
    3834            return true; 
     
    4743     * @param unknown_type $errMessage 
    4844     */ 
    49     function setError($errCode) 
    50     { 
     45    function setError($errCode) { 
    5146        $masterData = new SC_DB_MasterData_Ex(); 
    5247        $arrOStoreErrMsg = $masterData->getMasterData('mtb_ownersstore_err'); 
     
    6459     * @param mixed $data 
    6560     */ 
    66     function setSuccess($data = array(), $msg = '') 
    67     { 
     61    function setSuccess($data = array(), $msg = '') { 
    6862        $this->arrData['status'] = OSTORE_STATUS_SUCCESS; 
    6963        $this->arrData['data']   = $data; 
     
    7569     * 
    7670     */ 
    77     function display() 
    78     { 
     71    function display() { 
    7972        header('Content-Type: text/javascript; charset=UTF-8'); 
    8073        echo $this->encode($this->arrData); 
     
    9285     * @see SC_Utils_Ex::jsonDecode 
    9386     */ 
    94     function decode($str) 
    95     { 
     87    function decode($str) { 
    9688        return SC_Utils_Ex::jsonDecode($str); 
    9789    } 
Note: See TracChangeset for help on using the changeset viewer.