PHP Class Habari\FeedbackHandler

Inheritance: extends ActionHandler
Mostrar archivo Open project: habari/system

Public Methods

Method Description
act_add_comment ( ) function add_comment adds a comment to a post, if the comment content is not NULL
add_comment ( mixed $post, string $name = null, string $email = null, string $url = null, string $content = null, array $extra = null ) Add a comment to the site

Method Details

act_add_comment() public method

function add_comment adds a comment to a post, if the comment content is not NULL
public act_add_comment ( )

add_comment() public method

Add a comment to the site
public add_comment ( mixed $post, string $name = null, string $email = null, string $url = null, string $content = null, array $extra = null )
$post mixed A Post object instance or Post object id
$name string The commenter's name
$email string The commenter's email address
$url string The commenter's website URL
$content string The comment content
$extra array An associative array of extra values that should be considered