Class Agora_Driver_SplitSql
Agora_Driver_SplitSql:: provides the functions to access both threads
sorted in a scope dedicated tables
Copyright 2003-2012 Horde LLC (http://www.horde.org/)
See the enclosed file COPYING for license information (GPL). If you
did not receive this file, see http://www.horde.org/licenses/gpl.
-
Agora_Driver
-
Agora_Driver_SplitSql
Methods summary
public
|
|
public
integer
|
#
getForumId( string $forum_name )
Returns an ID for a given forum name.
Returns an ID for a given forum name.
Parameters
- $forum_name
- The full forum name.
Returns
integer The ID of the forum.
|
public
array
|
#
getBareForums( )
Get forums ids and titles
Get forums ids and titles
Returns
array An array of forums and form names.
Overrides
|
public
|
#
getThreadsByForumOwner( string $forum_owner, integer $thread_root = 0, boolean $all_levels = false, string $sort_by = 'message_modifystamp', integer $sort_dir = 0, boolean $message_view = false, string $from = 0, string $count = 0 )
Returns a list of threads.
Returns a list of threads.
Parameters
- $forum_owner
- Forum owner
- $thread_root
- <p>Message at which to start the thread.
If null get all forum threads</p>
- $all_levels
- Show all child levels or just one level.
- $sort_by
- The column by which to sort.
- $sort_dir
- <p>The direction by which to sort:
0 - ascending
1 - descending</p>
- $message_view
-
- $from
- The thread to start listing at.
- $count
- The number of threads to return.
Throws
|
Methods inherited from Agora_Driver
_forumSequence(),
allowAttachments(),
convertFromDriver(),
convertToDriver(),
countForums(),
countMessages(),
countThreads(),
dateFormat(),
deleteForum(),
deleteMessage(),
deleteThread(),
formatBody(),
formatSize(),
getAttachmentLink(),
getBanned(),
getForm(),
getForum(),
getForums(),
getMessage(),
getModerateList(),
getThreadActions(),
getThreadRoot(),
getThreads(),
getThreadsUi(),
hasPermission(),
isHot(),
isNew(),
isThreadLocked(),
logView(),
mergeThread(),
moderate(),
moveThread(),
newForum(),
replyMessage(),
saveForum(),
saveMessage(),
search(),
setThreadLock(),
splitThread(),
updateBan(),
updateModerator()
|