
Public Member Functions | |
| BitBoardTopic ($pRootId=NULL) | |
| getDisplayUrl () | |
| getFlipFlop ($arr=false) | |
| getLastPost ($data) | |
| getList (&$pParamHash) | |
| getNotificationData ($thread_id) | |
| isLocked ($thread_id=false) | |
| isLockedMsg ($parent_id) | |
| isNotificationOn ($thread_id=false) | |
| load () | |
| loadTrack (&$selectSql, &$joinSql) | |
| lock ($state) | |
| lookupByMigratePost ($pMigratePostId) | |
| lookupByMigrateTopic ($pMigrateTopicId) | |
| moveTo ($board_id) | |
| notify ($pState) | |
| readTopic () | |
| readTopicSet ($pState) | |
| sendNotification ($user) | |
| sticky ($state) | |
| store (&$pParamHash) | |
| track (&$res) | |
| verify (&$pParamHash) | |
Public Attributes | |
| $mRootId | |
Definition at line 29 of file BitBoardTopic.php.
| BitBoardTopic::BitBoardTopic | ( | $ | pRootId = NULL |
) |
During initialisation, be sure to call our base constructors
Definition at line 39 of file BitBoardTopic.php.
References LibertyAttachable::LibertyAttachable().
Referenced by getNotificationData().
Here is the call graph for this function:

| BitBoardTopic::getDisplayUrl | ( | ) |
Generates the URL to the bitboard page
| pExistsHash | the hash that was returned by LibertyAttachable::pageExists |
Definition at line 448 of file BitBoardTopic.php.
References $ret, and BitBase::verifyId().
Referenced by load().
Here is the call graph for this function:

| BitBoardTopic::getFlipFlop | ( | $ | arr = false |
) |
Definition at line 556 of file BitBoardTopic.php.
References $gBitSmarty, $gBitSystem, $gBitUser, down, mInfo, notify(), track(), and up.
Referenced by getList().
Here is the call graph for this function:

| BitBoardTopic::getLastPost | ( | $ | data | ) |
Definition at line 419 of file BitBoardTopic.php.
References $data, $gBitSystem, $query, $result, and mDb.
| BitBoardTopic::getList | ( | &$ | pParamHash | ) |
This function generates a list of records from the liberty_content database for use in a list page
Definition at line 291 of file BitBoardTopic.php.
References $find, $gBitSystem, $gBitUser, $max_records, $offset, $pParamHash, $query, $res, $result, $ret, $sort_mode, getFlipFlop(), getLastPost(), LibertyContent::getServicesSql(), loadTrack(), mDb, BitBase::postGetList(), LibertyContent::prepGetList(), title, track(), and url.
Here is the call graph for this function:

| BitBoardTopic::getNotificationData | ( | $ | thread_id | ) |
Definition at line 490 of file BitBoardTopic.php.
References $gBitSystem, $gBitUser, $query, $res, $result, $ret, and BitBoardTopic().
Here is the call graph for this function:

| BitBoardTopic::isLocked | ( | $ | thread_id = false |
) |
Definition at line 456 of file BitBoardTopic.php.
References $gBitSystem, and $ret.
Referenced by isLockedMsg().
| BitBoardTopic::isLockedMsg | ( | $ | parent_id | ) |
Definition at line 467 of file BitBoardTopic.php.
References isLocked().
Here is the call graph for this function:

| BitBoardTopic::isNotificationOn | ( | $ | thread_id = false |
) |
| BitBoardTopic::load | ( | ) |
Load the data from the database
| pParamHash | be sure to pass by reference in case we need to make modifcations to the hash |
Definition at line 53 of file BitBoardTopic.php.
References $gBitSystem, $gBitUser, $query, $result, getDisplayUrl(), BitBase::getField(), getLastPost(), LibertyContent::getServicesSql(), loadTrack(), mContentId, mDb, mInfo, track(), and BitBase::verifyId().
Here is the call graph for this function:

| BitBoardTopic::loadTrack | ( | &$ | selectSql, | |
| &$ | joinSql | |||
| ) |
| BitBoardTopic::lock | ( | $ | state | ) |
This function locks a topic
Definition at line 201 of file BitBoardTopic.php.
References $gBitSystem, $result, $ret, FALSE, and mDb.
| BitBoardTopic::lookupByMigratePost | ( | $ | pMigratePostId | ) |
Definition at line 126 of file BitBoardTopic.php.
References $gBitDb, $ret, boards_get_topic_comment(), and BitBase::verifyId().
Here is the call graph for this function:

| BitBoardTopic::lookupByMigrateTopic | ( | $ | pMigrateTopicId | ) |
Definition at line 138 of file BitBoardTopic.php.
References $gBitDb, $ret, and BitBase::verifyId().
Here is the call graph for this function:

| BitBoardTopic::moveTo | ( | $ | board_id | ) |
| BitBoardTopic::notify | ( | $ | pState | ) |
Definition at line 654 of file BitBoardTopic.php.
References $c, $data, $gBitSystem, $gBitUser, $ret, FALSE, mDb, and mUserId.
Referenced by getFlipFlop(), and track().
| BitBoardTopic::readTopic | ( | ) |
Definition at line 608 of file BitBoardTopic.php.
References $c, $data, $gBitSystem, $gBitUser, mDb, mInfo, mUserId, and track().
Referenced by readTopicSet().
Here is the call graph for this function:

| BitBoardTopic::readTopicSet | ( | $ | pState | ) |
Definition at line 634 of file BitBoardTopic.php.
References $gBitSystem, $gBitUser, $ret, FALSE, mDb, and readTopic().
Here is the call graph for this function:

| BitBoardTopic::sendNotification | ( | $ | user | ) |
Definition at line 525 of file BitBoardTopic.php.
References $data, $gBitSystem, $host, $user, mDb, mInfo, and title.
| BitBoardTopic::sticky | ( | $ | state | ) |
This function stickies a topic
Definition at line 226 of file BitBoardTopic.php.
References $gBitSystem, $result, $ret, FALSE, and mDb.
| BitBoardTopic::store | ( | &$ | pParamHash | ) |
This function stickies a topic
Reimplemented from LibertyAttachable.
Definition at line 179 of file BitBoardTopic.php.
References $gBitSystem, $pParamHash, $result, $ret, FALSE, mDb, and verify().
Here is the call graph for this function:

| BitBoardTopic::track | ( | &$ | res | ) |
Definition at line 693 of file BitBoardTopic.php.
References $gBitSystem, $gBitUser, $res, date, and notify().
Referenced by getFlipFlop(), getList(), load(), and readTopic().
Here is the call graph for this function:

| BitBoardTopic::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
| 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 |
Reimplemented from LibertyAttachable.
Definition at line 147 of file BitBoardTopic.php.
References $pParamHash.
Referenced by store().
| BitBoardTopic::$mRootId |
Primary key for our mythical Messageboards class object & table
Definition at line 34 of file BitBoardTopic.php.
1.5.2