class JsonHelper extends Services_JSON

Enter description here.

..

Properties

$arrData

Methods

Services_JSON
__construct()

Enter description here.

isError()

Enter description here.

isSuccess()

No description

setError(unknown_type $errCode)

Enter description here.

setSuccess($data = array(), $msg = '')

Enter description here.

display()

Enter description here.

StdClass
decode(string $str)

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

Details

at line 50
Services_JSON __construct()

Enter description here.

..

Return Value

Services_JSON

at line 59
isError()

Enter description here.

..

at line 64
isSuccess()

at line 78
setError(unknown_type $errCode)

Enter description here.

..

Parameters

unknown_type $errCode

at line 95
setSuccess($data = array(), $msg = '')

Enter description here.

..

Parameters

$data
$msg

at line 106
display()

Enter description here.

..

at line 123
StdClass decode(string $str)

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

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

Parameters

string $str

Return Value

StdClass

See also

Utils::jsonDecode