BitBoardTopic Class Reference

Inheritance diagram for BitBoardTopic:

Inheritance graph
[legend]
List of all members.

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

Detailed Description

Definition at line 29 of file BitBoardTopic.php.


Member Function Documentation

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

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

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.

Referenced by getList(), and load().

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  ) 

Definition at line 476 of file BitBoardTopic.php.

References $gBitSystem, and $gBitUser.

BitBoardTopic::load (  ) 

Load the data from the database

Parameters:
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 
)

Definition at line 685 of file BitBoardTopic.php.

References $gBitSystem, and $gBitUser.

Referenced by getList(), and load().

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  ) 

This function moves a topic to a new messageboard

Definition at line 251 of file BitBoardTopic.php.

References $data, $lcom, $query, $result, $ret, FALSE, mDb, mInfo, and title.

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

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 LibertyAttachable.

Definition at line 147 of file BitBoardTopic.php.

References $pParamHash.

Referenced by store().


Member Data Documentation

BitBoardTopic::$mRootId

Primary key for our mythical Messageboards class object & table

Definition at line 34 of file BitBoardTopic.php.


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