Changeset 23124 for branches/version-2_13-dev/data/class/pages/upgrade/helper/LC_Upgrade_Helper_Json.php
- Timestamp:
- 2013/08/24 23:33:52 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/data/class/pages/upgrade/helper/LC_Upgrade_Helper_Json.php
r22856 r23124 7 7 { 8 8 /** */ 9 var$arrData = array(9 public $arrData = array( 10 10 'status' => null, 11 11 'errcode' => null, … … 19 19 * @return SC_Upgrade_Helper_Json 20 20 */ 21 function __construct()21 public function __construct() 22 22 { 23 23 parent::Services_JSON(); … … 28 28 * 29 29 */ 30 function isError()30 public function isError() 31 31 { 32 32 return $this->isSuccess() ? false : true; 33 33 } 34 34 35 function isSuccess()35 public function isSuccess() 36 36 { 37 37 if ($this->arrData['status'] === OSTORE_STATUS_SUCCESS) { … … 48 48 * @param unknown_type $errMessage 49 49 */ 50 function setError($errCode)50 public function setError($errCode) 51 51 { 52 52 $masterData = new SC_DB_MasterData_Ex(); … … 65 65 * @param mixed $data 66 66 */ 67 function setSuccess($data = array(), $msg = '')67 public function setSuccess($data = array(), $msg = '') 68 68 { 69 69 $this->arrData['status'] = OSTORE_STATUS_SUCCESS; … … 76 76 * 77 77 */ 78 function display()78 public function display() 79 79 { 80 80 header('Content-Type: text/javascript; charset=UTF-8'); … … 89 89 * そのため5.2.0以上の場合は組み込み関数のjson_decode()を使用する. 90 90 * 91 * @param string$str91 * @param string $str 92 92 * @return StdClass 93 93 * @see SC_Utils_Ex::jsonDecode 94 94 */ 95 function decode($str)95 public function decode($str) 96 96 { 97 97 return SC_Utils_Ex::jsonDecode($str);
Note: See TracChangeset
for help on using the changeset viewer.