$restricted
$restricted : array
Cached data for isRestricted().
Chora Base Class.
Copyright 2000-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.
url(string $script, string $uri = '', array $args = array(), string $anchor = '') : string
Generate a URL that links into Chora.
string | $script | Name of the Chora script to link into. |
string | $uri | The path being browsed. |
array | $args | Key/value pair of any GET parameters to append. |
string | $anchor | Anchor entity name. |
The URL, with session information if necessary.
pretty(string $mime_type, resource $fp) : mixed
Pretty-print the checked out copy, using Horde_Mime_Viewer.
string | $mime_type | File extension of the checked out file. |
resource | $fp | File pointer to the head of the checked out copy. |
The Horde_Mime_Viewer object which can be rendered or false on failure.
readableTime(integer $date, boolean $long = false) : string
Return a text description of how long its been since the file has been last modified.
integer | $date | Number of seconds since epoch we wish to display. |
boolean | $long | If true, display a more verbose date. |
The human-readable date.