Public Member Functions

FeedbackHandler Class Reference

Inheritance diagram for FeedbackHandler:
Collaboration diagram for FeedbackHandler:

List of all members.

Public Member Functions

 act_add_comment ()
 add_comment ($post, $name=null, $email=null, $url=null, $content=null, $extra=null)

Detailed Description

Habari FeedbackHandler Class Deals with feedback mechnisms: Commenting, Pingbacking, and the like.

Definition at line 14 of file feedbackhandler.php.


Member Function Documentation

FeedbackHandler::act_add_comment (  ) 

function add_comment adds a comment to a post, if the comment content is not NULL

Parameters:
array An associative array of content found in the $_POST array

Definition at line 21 of file feedbackhandler.php.

FeedbackHandler::add_comment ( post,
name = null,
email = null,
url = null,
content = null,
extra = null 
)

Add a comment to the site

Parameters:
mixed $post A Post object instance or Post object id
string $name The commenter's name
string $email The commenter's email address
string $url The commenter's website URL
string $content The comment content
array $extra An associative array of extra values that should be considered

Definition at line 77 of file feedbackhandler.php.

Referenced by act_add_comment().


The documentation for this class was generated from the following file: