[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/modules/comment/ -> comment.pages.inc (summary)

(no description)

File Size: 116 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 functions

  comment_edit()
  comment_reply()

Functions
Functions that are not part of a class:

comment_edit($cid)   X-Ref
Form builder; generate a comment editing form.

param: $cid

comment_reply($node, $pid = NULL)   X-Ref
This function is responsible for generating a comment reply form.
There are several cases that have to be handled, including:
- replies to comments
- replies to nodes
- attempts to reply to nodes that can no longer accept comments
- respecting access permissions ('access comments', 'post comments', etc.)

The node or comment that is being replied to must appear above the comment
form to provide the user context while authoring the comment.

param: $node
param: $pid
return:



Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7