mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR phpDoc bits for Convert Services_JSON functions (from r100424)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@105568 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
30b2a950fe
commit
f7c34fc73c
@ -143,6 +143,10 @@ class Convert extends Object {
|
||||
* Uses the PHP 5.2 native json_encode function if available,
|
||||
* otherwise falls back to the Services_JSON class.
|
||||
*
|
||||
* @see http://pear.php.net/pepr/pepr-proposal-show.php?id=198
|
||||
* @uses Director::baseFolder()
|
||||
* @uses Services_JSON
|
||||
*
|
||||
* @param array $val Array to convert
|
||||
* @return string JSON encoded string
|
||||
*/
|
||||
@ -161,6 +165,8 @@ class Convert extends Object {
|
||||
* otherwise falls back to the Services_JSON class.
|
||||
*
|
||||
* @see http://pear.php.net/pepr/pepr-proposal-show.php?id=198
|
||||
* @uses Director::baseFolder()
|
||||
* @uses Services_JSON
|
||||
*
|
||||
* @param string $val
|
||||
* @return mixed JSON safe string
|
||||
|
Loading…
Reference in New Issue
Block a user