Ignore:
Timestamp:
2013/02/18 19:09:54 (11 years ago)
Author:
shutta
Message:

#2043 (typo修正・ソース整形・ソースコメントの改善 for 2.12.4)
Zend Framework PHP 標準コーディング規約のコーディングスタイルへ準拠。
classおよびfunctionの開始波括弧「{」のスタイルを修正。

File:
1 edited

Legend:

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

    r21951 r22567  
    44 * 
    55 */ 
    6 class LC_Upgrade_Helper_Json extends Services_JSON { 
     6class LC_Upgrade_Helper_Json extends Services_JSON  
     7{ 
    78    /** */ 
    89    var $arrData = array( 
     
    1819     * @return SC_Upgrade_Helper_Json 
    1920     */ 
    20     function __construct() { 
     21    function __construct() 
     22    { 
    2123        parent::Services_JSON(); 
    2224    } 
     
    2628     * 
    2729     */ 
    28     function isError() { 
     30    function isError() 
     31    { 
    2932        return $this->isSuccess() ? false : true; 
    3033    } 
    3134 
    32     function isSuccess() { 
     35    function isSuccess() 
     36    { 
    3337        if ($this->arrData['status'] === OSTORE_STATUS_SUCCESS) { 
    3438            return true; 
     
    4347     * @param unknown_type $errMessage 
    4448     */ 
    45     function setError($errCode) { 
     49    function setError($errCode) 
     50    { 
    4651        $masterData = new SC_DB_MasterData_Ex(); 
    4752        $arrOStoreErrMsg = $masterData->getMasterData('mtb_ownersstore_err'); 
     
    5964     * @param mixed $data 
    6065     */ 
    61     function setSuccess($data = array(), $msg = '') { 
     66    function setSuccess($data = array(), $msg = '') 
     67    { 
    6268        $this->arrData['status'] = OSTORE_STATUS_SUCCESS; 
    6369        $this->arrData['data']   = $data; 
     
    6975     * 
    7076     */ 
    71     function display() { 
     77    function display() 
     78    { 
    7279        header('Content-Type: text/javascript; charset=UTF-8'); 
    7380        echo $this->encode($this->arrData); 
     
    8592     * @see SC_Utils_Ex::jsonDecode 
    8693     */ 
    87     function decode($str) { 
     94    function decode($str) 
     95    { 
    8896        return SC_Utils_Ex::jsonDecode($str); 
    8997    } 
Note: See TracChangeset for help on using the changeset viewer.