summaryrefslogtreecommitdiff
path: root/modules/comment/comment.pages.inc
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-12-16 21:01:45 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-12-16 21:01:45 +0000
commitb7a2becd1538da11419387d3f76d21d06847c6f1 (patch)
tree118dc771704325681c915886300b9cb8c031bff3 /modules/comment/comment.pages.inc
parent97b326ff072ef92e4ea3a5805651ec43b4121564 (diff)
downloadbrdo-b7a2becd1538da11419387d3f76d21d06847c6f1.tar.gz
brdo-b7a2becd1538da11419387d3f76d21d06847c6f1.tar.bz2
#197314 by vitezslav.smid (as GHOP 39): improve/add/update phpdoc in aggregator, comment and system modules
Diffstat (limited to 'modules/comment/comment.pages.inc')
-rw-r--r--modules/comment/comment.pages.inc10
1 files changed, 9 insertions, 1 deletions
diff --git a/modules/comment/comment.pages.inc b/modules/comment/comment.pages.inc
index 7e979a1fb..f4b770677 100644
--- a/modules/comment/comment.pages.inc
+++ b/modules/comment/comment.pages.inc
@@ -6,6 +6,13 @@
* User page callbacks for the comment module.
*/
+/**
+ * Form builder; generate a comment editing form.
+ *
+ * @param $cid
+ * ID of the comment to be edited.
+ * @ingroup forms
+ */
function comment_edit($cid) {
global $user;
@@ -33,11 +40,12 @@ function comment_edit($cid) {
*
* @param $node
* Every comment belongs to a node. This is that node.
+ *
* @param $pid
* Some comments are replies to other comments. In those cases, $pid is the parent
* comment's cid.
*
- * @return $output
+ * @return
* The rendered parent node or comment plus the new comment form.
*/
function comment_reply($node, $pid = NULL) {