
Public Member Functions | |
| deleteComment () | |
| getComments ($pContentId=NULL, $pMaxComments=NULL, $pOffset=NULL, $pSortOrder=NULL, $pDisplayMode=NULL) | |
| getDisplayLink ($pLinkText=NULL, $pMixed=NULL) | |
| getDisplayUrl ($pLinkText=NULL, $pMixed=NULL) | |
| getDisplayUrl2 ($pLinkText=NULL, $pMixed=NULL) | |
| getList ($pParamHash) | |
| getNumComments ($pContentId=NULL) | |
| getNumComments_upto ($pCommentId=NULL, $pContentId=NULL) | |
| getQuoted () | |
| getTitle ($pHash=NULL) | |
| LibertyComment ($pCommentId=NULL, $pContentId=NULL, $pInfo=NULL) | |
| loadComment () | |
| quoteComment ($commentData) | |
| storeComment (&$pParamHash) | |
| userCanEdit ($pUserId=NULL) | |
| verifyComment (&$pParamHash) | |
Public Attributes | |
| $mCommentId | |
Definition at line 23 of file LibertyComment.php.
| LibertyComment::deleteComment | ( | ) |
Definition at line 157 of file LibertyComment.php.
References $comment, $gBitSystem, $query, $result, $ret, $row, $rs, $sql, LibertyContent::expunge(), FALSE, BitBase::getField(), LibertyContent::isValid(), LibertyComment(), mContentId, and mDb.
Referenced by BitBoardPost::modReject().
Here is the call graph for this function:

| LibertyComment::getComments | ( | $ | pContentId = NULL, |
|
| $ | pMaxComments = NULL, |
|||
| $ | pOffset = NULL, |
|||
| $ | pSortOrder = NULL, |
|||
| $ | pDisplayMode = NULL | |||
| ) |
Reimplemented in BitBoardPost.
Definition at line 414 of file LibertyComment.php.
References $c, $mid, $result, $ret, $row, $sql, LibertyContent::getServicesSql(), LibertyComment(), mContentId, mDb, LibertyContent::parseData(), and title.
Here is the call graph for this function:

| LibertyComment::getDisplayLink | ( | $ | pLinkText = NULL, |
|
| $ | pMixed = NULL | |||
| ) |
Definition at line 241 of file LibertyComment.php.
References BitBase::verifyId().
Referenced by getList().
Here is the call graph for this function:

| LibertyComment::getDisplayUrl | ( | $ | pLinkText = NULL, |
|
| $ | pMixed = NULL | |||
| ) |
| pLinkText | name of | |
| pMixed | different possibilities depending on derived class |
Reimplemented from LibertyContent.
Reimplemented in BitBoardPost.
Definition at line 217 of file LibertyComment.php.
References $ret, LibertyBase::getLibertyObject(), mInfo, and BitBase::verifyId().
Here is the call graph for this function:

| LibertyComment::getDisplayUrl2 | ( | $ | pLinkText = NULL, |
|
| $ | pMixed = NULL | |||
| ) |
Definition at line 229 of file LibertyComment.php.
References $ret, LibertyBase::getLibertyObject(), and mInfo.
Here is the call graph for this function:

| LibertyComment::getList | ( | $ | pParamHash | ) |
Definition at line 249 of file LibertyComment.php.
References $gBitSystem, $pParamHash, $query, $result, $ret, $row, $sort_mode, getDisplayLink(), mDb, and LibertyContent::prepGetList().
Here is the call graph for this function:

| LibertyComment::getNumComments | ( | $ | pContentId = NULL |
) |
Reimplemented in BitBoardPost.
Definition at line 344 of file LibertyComment.php.
References $mid, $sql, mContentId, and mDb.
| LibertyComment::getNumComments_upto | ( | $ | pCommentId = NULL, |
|
| $ | pContentId = NULL | |||
| ) |
Definition at line 370 of file LibertyComment.php.
References $comment, $mid, $sql, LibertyComment(), and mDb.
Here is the call graph for this function:

| LibertyComment::getQuoted | ( | ) |
| LibertyComment::getTitle | ( | $ | pHash = NULL |
) |
Fill title with date if available
This will normally be overwriten by extended classes to provide an appropriate title title string
| array | mInfo type hash of data to be used to provide base data |
Reimplemented from LibertyContent.
Definition at line 326 of file LibertyComment.php.
References $gBitSmarty, $ret, mInfo, smarty_modifier_bit_short_date(), and title.
Here is the call graph for this function:

| LibertyComment::LibertyComment | ( | $ | pCommentId = NULL, |
|
| $ | pContentId = NULL, |
|||
| $ | pInfo = NULL | |||
| ) |
Definition at line 26 of file LibertyComment.php.
References LibertyContent::LibertyContent(), loadComment(), mContentId, mInfo, and LibertyContent::registerContentType().
Referenced by BitBoardPost::BitBoardPost(), deleteComment(), getComments(), BitBoardPost::getComments(), BitBoardPost::getList(), getNumComments_upto(), and storeComment().
Here is the call graph for this function:

| LibertyComment::loadComment | ( | ) |
Definition at line 47 of file LibertyComment.php.
References $gBitSystem, $mid, $row, $sql, LibertyContent::getServicesSql(), mContentId, mDb, and mInfo.
Referenced by LibertyComment().
Here is the call graph for this function:

| LibertyComment::quoteComment | ( | $ | commentData | ) |
| LibertyComment::storeComment | ( | &$ | pParamHash | ) |
Definition at line 110 of file LibertyComment.php.
References $pParamHash, $sql, LibertyComment(), mContentId, mDb, mInfo, LibertyContent::store(), and verifyComment().
Here is the call graph for this function:

| LibertyComment::userCanEdit | ( | $ | pUserId = NULL |
) |
| LibertyComment::verifyComment | ( | &$ | pParamHash | ) |
Definition at line 77 of file LibertyComment.php.
References $_SERVER, $gBitUser, $pParamHash, mDb, mUserId, LibertyContent::store(), and tra().
Referenced by storeComment().
Here is the call graph for this function:

| LibertyComment::$mCommentId |
Definition at line 24 of file LibertyComment.php.
1.5.2