Class Agora
The Agora:: class provides basic Agora functionality.
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.
public
array
|
#
getAgoraId( )
Determines the requested forum_id, message_id and application by checking first if they are passed as the single encoded var or individual vars. |
public
string
|
#
setAgoraId( mixed $forum_id, mixed $message_id, mixed $url = '', mixed $scope = null, mixed $encode = false )
Creates the Agora id. |
public
string
|
|
public
array
|
#
formatCategoryTree( array $forums )
Formats a list of forums, showing each child of a parent with appropriate indent using '.. ' as a leader. |
public
string
|
|
public
integer
|
#
getSortDir( string $view )
Returns the sort direction, checking first if it is specified in the URL, then returning the value stored in prefs. |
public
array
|
#
formatColumnHeaders( array $columns, string $sort_by, string $sort_dir, string $view )
Formats column headers have sort links and sort arrows. |
public
VFS
|
|
public
|
|
public
|
|
public
|
#
distribute( integer $message_id )
Send new posts to a distribution email address for a wider audience |
string |
VFS_PATH
The virtual path to use for VFS data. |
#
'.horde/agora/attachments/'
|
string |
AVATAR_PATH
|
#
'.horde/agora/avatars/'
|