![]() |
CMS
Version 3.9
|
Public Member Functions | |
CommentView ($obj, $xrefClass, $component, $title="") | |
buildCommentList ($obj) | |
formatComment ($comment) | |
drawButtons ($comment) | |
writeScript () | |
drawView () | |
drawForm () | |
buildCommentForm () | |
addXrefRecord ($form) | |
save () | |
getMatchingPK ($xref, $obj) | |
Static Public Member Functions | |
static | addCommentPanel ($qs=null) |
static | fromGET () |
static | onSaveNewComment ($form) |
Called by comment_form handler to save xref and send email for new comments. More... | |
Public Attributes | |
$obj | |
$list | |
$form | |
$xrefClass | |
$component | |
$title | |
$usernameFormat = "{User.first_name} {User.last_name}" | |
Definition at line 56 of file comment_view.inc.
|
static |
Definition at line 89 of file comment_view.inc.
CommentView::addXrefRecord | ( | $form | ) |
Definition at line 280 of file comment_view.inc.
CommentView::buildCommentForm | ( | ) |
Definition at line 234 of file comment_view.inc.
CommentView::buildCommentList | ( | $obj | ) |
Definition at line 110 of file comment_view.inc.
CommentView::CommentView | ( | $obj, | |
$xrefClass, | |||
$component, | |||
$title = "" |
|||
) |
obj | $obj | any DataItem class that can link to Comment |
String | $xrefClass | DataItem xref class that links obj to Comment |
String | $component | |
String | $title |
Definition at line 73 of file comment_view.inc.
CommentView::drawButtons | ( | $comment | ) |
Definition at line 162 of file comment_view.inc.
CommentView::drawForm | ( | ) |
Definition at line 222 of file comment_view.inc.
CommentView::drawView | ( | ) |
Definition at line 200 of file comment_view.inc.
CommentView::formatComment | ( | $comment | ) |
Definition at line 131 of file comment_view.inc.
|
static |
Definition at line 99 of file comment_view.inc.
CommentView::getMatchingPK | ( | $xref, | |
$obj | |||
) |
Definition at line 350 of file comment_view.inc.
|
static |
Called by comment_form handler to save xref and send email for new comments.
AutoForm's obj can by any obj that links to Comment (e.g, Article)
obj | $form | AutoForm |
Definition at line 315 of file comment_view.inc.
CommentView::save | ( | ) |
Definition at line 288 of file comment_view.inc.
CommentView::writeScript | ( | ) |
Definition at line 186 of file comment_view.inc.
CommentView::$component |
Definition at line 62 of file comment_view.inc.
CommentView::$form |
Definition at line 60 of file comment_view.inc.
CommentView::$list |
Definition at line 59 of file comment_view.inc.
CommentView::$obj |
Definition at line 58 of file comment_view.inc.
CommentView::$title |
Definition at line 63 of file comment_view.inc.
CommentView::$usernameFormat = "{User.first_name} {User.last_name}" |
Definition at line 64 of file comment_view.inc.
CommentView::$xrefClass |
Definition at line 61 of file comment_view.inc.