Ignore:
Timestamp:
2013/08/24 23:33:52 (11 years ago)
Author:
kimoto
Message:

#2043 typo修正・ソース整形・ソースコメントの改善 for 2.13.0
PHP4的な書き方の修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/pages/upgrade/helper/LC_Upgrade_Helper_Json.php

    r22856 r23124  
    77{ 
    88    /** */ 
    9     var $arrData = array( 
     9    public $arrData = array( 
    1010        'status'  => null, 
    1111        'errcode' => null, 
     
    1919     * @return SC_Upgrade_Helper_Json 
    2020     */ 
    21     function __construct() 
     21    public function __construct() 
    2222    { 
    2323        parent::Services_JSON(); 
     
    2828     * 
    2929     */ 
    30     function isError() 
     30    public function isError() 
    3131    { 
    3232        return $this->isSuccess() ? false : true; 
    3333    } 
    3434 
    35     function isSuccess() 
     35    public function isSuccess() 
    3636    { 
    3737        if ($this->arrData['status'] === OSTORE_STATUS_SUCCESS) { 
     
    4848     * @param unknown_type $errMessage 
    4949     */ 
    50     function setError($errCode) 
     50    public function setError($errCode) 
    5151    { 
    5252        $masterData = new SC_DB_MasterData_Ex(); 
     
    6565     * @param mixed $data 
    6666     */ 
    67     function setSuccess($data = array(), $msg = '') 
     67    public function setSuccess($data = array(), $msg = '') 
    6868    { 
    6969        $this->arrData['status'] = OSTORE_STATUS_SUCCESS; 
     
    7676     * 
    7777     */ 
    78     function display() 
     78    public function display() 
    7979    { 
    8080        header('Content-Type: text/javascript; charset=UTF-8'); 
     
    8989     * そのため5.2.0以上の場合は組み込み関数のjson_decode()を使用する. 
    9090     * 
    91      * @param string $str 
     91     * @param  string  $str 
    9292     * @return StdClass 
    9393     * @see SC_Utils_Ex::jsonDecode 
    9494     */ 
    95     function decode($str) 
     95    public function decode($str) 
    9696    { 
    9797        return SC_Utils_Ex::jsonDecode($str); 
Note: See TracChangeset for help on using the changeset viewer.