Permalink
Browse files

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
  • Loading branch information...
chillu committed May 25, 2010
1 parent 30b2a95 commit f7c34fc73c9650fe5290bda03ef91b4d3f136f4d
Showing with 6 additions and 0 deletions.
  1. +6 −0 core/Convert.php
View
@@ -143,6 +143,10 @@ static function xml2raw($val) {
* 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 @@ static function array2json($val) {
* 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

0 comments on commit f7c34fc

Please sign in to comment.