Class LC_Upgrade_Helper_Json

Description

Enter description here...

Located in /class/pages/upgrade/helper/LC_Upgrade_Helper_Json.php (line 7)

Services_JSON
   |
   --LC_Upgrade_Helper_Json
Variable Summary
mixed $arrData
Method Summary
SC_Upgrade_Helper_Json LC_Upgrade_Helper_Json ()
StdClass decode (string $str)
void display ()
void isError ()
void isSuccess ()
void setError (unknown_type $errCode, unknown_type $errMessage)
void setSuccess ([mixed $data = array()], [ $msg = ''])
Variables
mixed $arrData = array(
'status' => null,
'errcode' => null,
'msg' => null,
'data' => array())
(line 9)
Methods
Constructor LC_Upgrade_Helper_Json (line 21)

Enter description here...

SC_Upgrade_Helper_Json LC_Upgrade_Helper_Json ()
decode (line 87)

JSONデータをデコードする.

php5.2.0からpreg_match関数に渡せるデータ長に制限がある(?)ため, Services_JSONが正常に動作しなくなる. そのため5.2.0以上の場合は組み込み関数のjson_decode()を使用する.

StdClass decode (string $str)
  • string $str
display (line 72)

Enter description here...

void display ()
isError (line 29)

Enter description here...

void isError ()
isSuccess (line 33)
void isSuccess ()
setError (line 46)

Enter description here...

void setError (unknown_type $errCode, unknown_type $errMessage)
  • unknown_type $errCode
  • unknown_type $errMessage
setSuccess (line 62)

Enter description here...

void setSuccess ([mixed $data = array()], [ $msg = ''])
  • mixed $data
  • $msg

Documentation generated on Tue, 28 Apr 2009 18:13:04 +0900 by phpDocumentor 1.4.2