LibertyComment Class Reference

Inheritance diagram for LibertyComment:

Inheritance graph
[legend]
List of all members.

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

Detailed Description

Definition at line 23 of file LibertyComment.php.


Member Function Documentation

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 
)

Parameters:
pLinkText name of
pMixed different possibilities depending on derived class
Returns:
the link to display the page.

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 (  ) 

Definition at line 492 of file LibertyComment.php.

References $data, and mInfo.

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

Parameters:
array mInfo type hash of data to be used to provide base data
Returns:
string Descriptive title for the object

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  ) 

Definition at line 501 of file LibertyComment.php.

References $ret.

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  ) 

Definition at line 195 of file LibertyComment.php.

References $_SERVER, $gBitUser, FALSE, mInfo, and mUserId.

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:


Member Data Documentation

LibertyComment::$mCommentId

Definition at line 24 of file LibertyComment.php.


The documentation for this class was generated from the following file:
Generated on Wed Aug 22 19:34:40 2007 for bitweaver by  doxygen 1.5.2