IP.Board  3.3.0
public_forums_ajax_topics Class Reference
Inheritance diagram for public_forums_ajax_topics:
ipsAjaxCommand

Public Member Functions

 cleanTopicTitle ($title="")
 doExecute (ipsRegistry $registry)
 editBoxSave ()
 editBoxShow ()
 rateTopic ()
 saveTopicTitle ()

Protected Member Functions

 _getNewPosts ()
 _getPosts ($topicId, $topPid, $forumId)
 _ignoreSig ()
 _markRead ()
 _pollForReplies ()
 _postApproveToggle ()
 _quote ()
 _reply ()
 _sigCloseMenu ()
 _topicPreview ()

Member Function Documentation

_getNewPosts ( ) [protected]

Fetches the new posts to insert into the live page ...

_getPosts ( topicId,
topPid,
forumId 
) [protected]

Fetches posts

Parameters:
INTTopic ID
INTTop PID
INTForum ID
_pollForReplies ( ) [protected]

Polls for replies innit

_postApproveToggle ( ) [protected]

Toggle the posts approve thingy

Returns:
void
_quote ( ) [protected]

Fetches data to quote

Returns:
void
_reply ( ) [protected]

Saves the post

Returns:
void

If there was an error, return it as a JSON error

_topicPreview ( ) [protected]

Displays a topic preview

Returns:
void
cleanTopicTitle ( title = "")

Clean the topic title

Parameters:
stringRaw title
Returns:
string Cleaned title
doExecute ( ipsRegistry registry)

Class entry point

Parameters:
objectRegistry reference
Returns:
void [Outputs for the ajax handler]

Reimplemented from ipsAjaxCommand.

Saves the post

Returns:
void

If there was an error, return it as a JSON error

Shows the edit box

Returns:
void
rateTopic ( )

Add vote to rating

Returns:
void

Saves a ajax topic title edit

Returns:
void

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