diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-08-01 10:19:36 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-08-01 10:19:36 -0700 |
commit | bf7115cf5a732cea2d498971ec94d2ade3b2fcdd (patch) | |
tree | 81af4ec2993f740fb632c9f5ea4572bb2d1efa23 /modules/gallery | |
parent | cd50fde5dea97f10d8eb62e0e2058846ce9abdfe (diff) |
Write appropriate PHPdoc for json::reply.
Diffstat (limited to 'modules/gallery')
-rw-r--r-- | modules/gallery/helpers/json.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/modules/gallery/helpers/json.php b/modules/gallery/helpers/json.php index bbd835e9..a39db27a 100644 --- a/modules/gallery/helpers/json.php +++ b/modules/gallery/helpers/json.php @@ -19,11 +19,10 @@ */ class json_Core { /** - * Does the active user have this permission on this item? + * JSON Encode a reply to the browser and set the content type to specify that it's a JSON + * payload. * - * @param string $perm_name - * @param Item_Model $item - * @return boolean + * @param mixed $message string or object to json encode and print */ static function reply($message) { if (!headers_sent()) { |