VFS_PATH
VFS_PATH
The virtual path to use for VFS data.
The Agora:: class provides basic Agora functionality.
Copyright 2003-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.
setAgoraId( $forum_id, $message_id, $url = '', $scope = null, $encode = false) : string
Creates the Agora id.
$forum_id | ||
$message_id | ||
$url | ||
$scope | ||
$encode |
If passed with the $url parameter, returns a completed url with the agora_id tacked on at the end, otherwise returns the simple agora_id.
getSortDir(string $view) : integer
Returns the sort direction, checking first if it is specified in the URL, then returning the value stored in prefs.
string | $view | The view name, used to identify preference settings for sorting. |
The sort direction, 0 = ascending, 1 = descending.
formatColumnHeaders(array $columns, string $sort_by, string $sort_dir, string $view) : array
Formats column headers have sort links and sort arrows.
array | $columns | The columns to format. |
string | $sort_by | The current 'sort-by' column. |
string | $sort_dir | The current sort direction. |
string | $view | The view name, used to identify preference settings for sorting. |
The formated column headers to be displayed.