class CComment


Located at : UKNOWVA_ROOT/components/com_community/libraries/comment.php

Methods

getCommentsData($content)

Return an array of comment data within the content

getRawCommentsData($content)

Return an array of comment data within the content

,
add($actor, $comment, $content)

Append the given comment to the particular content.

remove($content, $index)

Remove the given indexed comment from the content

getHTML($content, $id, $canComment = true)

Return html formatted comments given the content

renderComment($cmtObj)

No description

stripCommentData($content)

No description

getCommentHandler($type)

No description

Details

at line 27
getCommentsData($content)

Return an array of comment data within the content

Parameters

$content

at line 46
getRawCommentsData($content)

Return an array of comment data within the content

Parameters

$content

at line 67
, add($actor, $comment, $content)

Append the given comment to the particular content.

Parameters

$actor
$comment
$content

Return Value

, full-text of the content

at line 95
remove($content, $index)

Remove the given indexed comment from the content

Parameters

$content
$index

at line 113
getHTML($content, $id, $canComment = true)

Return html formatted comments given the content

Parameters

$content
$id
$canComment

at line 165
renderComment($cmtObj)

Parameters

$cmtObj

at line 201
stripCommentData($content)

Parameters

$content

at line 208
getCommentHandler($type)

Parameters

$type