BitBoardPost Class Reference

Inheritance diagram for BitBoardPost:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 BitBoardPost ($pCommentId=NULL, $pContentId=NULL, $pInfo=NULL)
 expunge ()
 getComments ($pContentId=NULL, $pMaxComments=NULL, $pOffset=NULL, $pSortOrder=NULL, $pDisplayMode=NULL)
 getDisplayUrl ($pCommentId=NULL, $pTopicId=NULL)
 getList (&$pListHash)
 getNumComments ($pContentId=NULL)
 getTopicId ()
 loadMetaData ()
 modApprove ()
 modReject ()
 modWarn ($message)
 setMetaData ($data)
 store (&$pParamHash)
 verify (&$pParamHash)

Detailed Description

Definition at line 23 of file BitBoardPost.php.


Member Function Documentation

BitBoardPost::BitBoardPost ( pCommentId = NULL,
pContentId = NULL,
pInfo = NULL 
)

During initialisation, be sure to call our base constructors

Definition at line 27 of file BitBoardPost.php.

References LibertyComment::LibertyComment().

Here is the call graph for this function:

BitBoardPost::expunge (  ) 

This function removes a bitboard entry

Reimplemented from LibertyContent.

Definition at line 109 of file BitBoardPost.php.

References $ret, FALSE, LibertyContent::isValid(), and mDb.

Here is the call graph for this function:

BitBoardPost::getComments ( pContentId = NULL,
pMaxComments = NULL,
pOffset = NULL,
pSortOrder = NULL,
pDisplayMode = NULL 
)

Reimplemented from LibertyComment.

Definition at line 124 of file BitBoardPost.php.

References $c, $gBitSystem, $gBitUser, $mid, $result, $ret, $row, $sql, BitUser::getDisplayUrl(), LibertyContent::getServicesSql(), liberty_fetch_thumbnail_url(), LibertyComment::LibertyComment(), mDb, and LibertyContent::parseData().

Here is the call graph for this function:

BitBoardPost::getDisplayUrl ( pCommentId = NULL,
pTopicId = NULL 
)

Generates the URL to the bitboard page

Parameters:
pExistsHash the hash that was returned by LibertyAttachable::pageExists
Returns:
the link to display the page.

Reimplemented from LibertyComment.

Definition at line 314 of file BitBoardPost.php.

References $ret, getTopicId(), and BitBase::verifyId().

Referenced by getList().

Here is the call graph for this function:

BitBoardPost::getList ( &$  pListHash  ) 

Definition at line 200 of file BitBoardPost.php.

References $c, $gBitSystem, $gBitUser, $result, $ret, $row, $sql, boards_get_topic_comment(), FALSE, getDisplayUrl(), BitUser::getDisplayUrl(), LibertyContent::getServicesSql(), liberty_fetch_thumbnail_url(), LibertyComment::LibertyComment(), mDb, LibertyContent::parseData(), LibertyContent::prepGetList(), and BitBase::verifyId().

Here is the call graph for this function:

BitBoardPost::getNumComments ( pContentId = NULL  ) 

Reimplemented from LibertyComment.

Definition at line 286 of file BitBoardPost.php.

References $ret, $sql, LibertyContent::getServicesSql(), and mDb.

Here is the call graph for this function:

BitBoardPost::getTopicId (  ) 

Definition at line 330 of file BitBoardPost.php.

References boards_get_topic_comment(), and BitBase::getField().

Referenced by getDisplayUrl().

Here is the call graph for this function:

BitBoardPost::loadMetaData (  ) 

Definition at line 86 of file BitBoardPost.php.

References $data, LibertyContent::isValid(), mDb, and mInfo.

Here is the call graph for this function:

BitBoardPost::modApprove (  ) 

Definition at line 334 of file BitBoardPost.php.

References $data, and setMetaData().

Here is the call graph for this function:

BitBoardPost::modReject (  ) 

Definition at line 339 of file BitBoardPost.php.

References LibertyComment::deleteComment().

Here is the call graph for this function:

BitBoardPost::modWarn ( message  ) 

Definition at line 343 of file BitBoardPost.php.

References $_SERVER, $data, $gBitSystem, $gBitUser, $msgHash, $u, $userInfo, mInfo, setMetaData(), title, and tra().

Here is the call graph for this function:

BitBoardPost::setMetaData ( data  ) 

Definition at line 372 of file BitBoardPost.php.

References $c, $data, LibertyContent::isValid(), and mDb.

Referenced by modApprove(), and modWarn().

Here is the call graph for this function:

BitBoardPost::store ( &$  pParamHash  ) 

This function stores a post

Reimplemented from LibertyContent.

Definition at line 67 of file BitBoardPost.php.

References $gBitSystem, $pParamHash, $result, $ret, FALSE, mDb, and verify().

Here is the call graph for this function:

BitBoardPost::verify ( &$  pParamHash  ) 

Verify the core class data required to update the liberty_content table entries

Verify will build an array [content_store] with all of the required values and populate it with the relevent data to create/update the liberty_content table record

Parameters:
array Array of content data to be stored
[pParamHash]
content_id
user_id
modifier_user_id
created
last_modified
content_type_guid
format_guid
last_hit
event_time
hits
lang_code
title
ip
edit

Returns:
integer Count of the number of errors ( 0 for success )
[pParamHash] will be extended to include array [content_store] populated with the require values for LibertyContent::store()

Reimplemented from LibertyContent.

Definition at line 36 of file BitBoardPost.php.

References $pParamHash.

Referenced by store().


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