IP.Board  3.3.0
public_forums_forums_topics Class Reference
Inheritance diagram for public_forums_forums_topics:
ipsCommand

Public Member Functions

 _addModLink ($key="")
 _generateModerationPanel ()
 _generatePollOutput ()
 _getActiveUserData ()
 _getFastReplyData ()
 _getPosts ()
 _getReplyButtonData ()
 _parseAttachments ($postData)
 doExecute (ipsRegistry $registry)
 parsePostRow ($row=array())
 returnLastPost ($topicData=false)
 returnNewPost ($topicData=false)
 topicSetUp ($topicData)

Data Fields

 $can_rate = false
 $class_attach
 $first = 0
 $poll_only = false
 $post_count = 0
 $qpids = ""

Protected Member Functions

 _doViewCheck ()
 _getSameTaggedData ()

Protected Attributes

 $_canEditAPost = false
 $_firstPostContent = ''
 $_maxPostDate = 0
 $_sdPids = array()
 $mod_action
 $permissions = array()

Member Function Documentation

_addModLink ( key = "")

Append mod links

Parameters:
string$key
Returns:
array Options
_doViewCheck ( ) [protected]

Tests to see if we're viewing a post, etc

Returns:
void

Generate the moderation panel $skcusgej, still. After all this time

Returns:
array

Generate the Poll output

Returns:
string

Return active user data

Returns:
array

Get fast reply status

Returns:
string
_getPosts ( )

Get Topic Data

Returns:
array

Get reply button data

Returns:
array
_getSameTaggedData ( ) [protected]

Fetch data tagged the same

Returns:
array
_parseAttachments ( postData)

Parse attachments

Parameters:
arrayArray of post data
Returns:
string HTML parsed by attachment class
doExecute ( ipsRegistry registry)

Main Execution Function

Parameters:
objectRegistry reference
Returns:
void [Outputs to screen/redirects]

Add navigational links

Reimplemented from ipsCommand.

parsePostRow ( row = array())

Builds an array of post data for output

Parameters:
array$rowArray of post data
Returns:
array
returnLastPost ( topicData = false)

Return last post

Returns:
void
returnNewPost ( topicData = false)

Redirects to new post

Parameters:
mixed$topicData
topicSetUp ( topicData)

Topic set up ya'll

Returns:
void

Field Documentation

$_maxPostDate = 0 [protected]

Max post date for this page

$_sdPids = array() [protected]

Soft deleted PIDS

$mod_action [protected]
Initial value:
 array( 'CLOSE_TOPIC'   => '00',
                                                                        'OPEN_TOPIC'    => '01',
                                                                        'MOVE_TOPIC'    => '02',
                                                                        'HIDE_TOPIC'    => '03',
                                                                        'UNHIDE_TOPIC'  => 'sundelete',
                                                                        'DELETE_TOPIC'  => '08',
                                                                        'EDIT_TOPIC'    => '05',
                                                                        'PIN_TOPIC'         => '15',
                                                                        'UNPIN_TOPIC'   => '16',
                                                                        'UNSUBBIT'          => '30',
                                                                        'MERGE_TOPIC'   => '60',
                                                                        'TOPIC_HISTORY' => '90',
                                                                )
$permissions = array() [protected]

Permissions array


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables