Свойство | Type | Description | |
---|---|---|---|
$fdcache | string | Cached data for formatDate(). | |
$restricted | array | Cached data for isRestricted(). | |
$rtcache | array | Cached data for readableTime(). |
Méthode | Description | |
---|---|---|
checkPerms ( $key ) | TODO | |
fatal ( string $message, string $code = null ) | Output an error page. | |
formInputs ( ) : string | Generates hidden form fields with all required parameters. | |
formatDate ( integer $date ) : string | Return formatted date information. | |
formatLogMessage ( string $log ) : string | Formats a log message. | |
getAuthorEmail ( $name ) | ||
getFileViews ( string $where, string $rev ) : array | Generate the link used for various file views. | |
getHistoryViews ( string $where ) : array | Generate the link used for various history views. | |
getTags ( Horde_Vcs_Log $lg, string $where ) : array | Return a list of tags for a given log entry. | |
header ( string $title ) | Generates and prints the page header. | |
isRestricted ( string $where ) : boolean | Check if the given item is restricted from being shown. | |
pretty ( string $mime_type, resource $fp ) : mixed | Pretty-print the checked out copy, using Horde_Mime_Viewer. | |
readableTime ( integer $date, boolean $long = false ) : string | Return a text description of how long its been since the file has been last modified. | |
showAuthorName ( string $name, $fullname = false ) : string | Convert a commit-name into whatever the user wants. | |
sourceroots ( ) : array | Returns the entries of $sourceroots that the current user has access to. | |
url ( string $script, string $uri = '', array $args = [], string $anchor = '' ) : string | Generate a URL that links into Chora. | |
whereMenu ( string $where, string $onb = null ) : string | Create the breadcrumb directory listing. |
Méthode | Description | |
---|---|---|
_getArgList ( $acts, $defaultActs, $args ) | TODO |
protected static _getArgList ( $acts, $defaultActs, $args ) |
public static formInputs ( ) : string | ||
Résultat | string | The form fields, with session information if necessary. |
public static formatDate ( integer $date ) : string | ||
$date | integer | Number of seconds since epoch we wish to display. |
Résultat | string | The date formatted pursuant to Horde prefs. |
public static formatLogMessage ( string $log ) : string | ||
$log | string | The log message text. |
Résultat | string | The formatted message. |
public static getHistoryViews ( string $where ) : array | ||
$where | string | The current file path. |
Résultat | array | An array of file view links. |
public static isRestricted ( string $where ) : boolean | ||
$where | string | The current file path. |
Résultat | boolean | Is item allowed to be displayed? |
public static showAuthorName ( string $name, $fullname = false ) : string | ||
$name | string | Account name. |
Résultat | string | The transformed name. |
public static sourceroots ( ) : array | ||
Résultat | array | The sourceroots that the current user has access to. |
public static url ( string $script, string $uri = '', array $args = [], string $anchor = '' ) : string | ||
$script | string | Name of the Chora script to link into. |
$uri | string | The path being browsed. |
$args | array | Key/value pair of any GET parameters to append. |
$anchor | string | Anchor entity name. |
Résultat | string | The URL, with session information if necessary. |
public static string $fdcache | ||
Résultat | string |
public static array $restricted | ||
Résultat | array |
public static array $rtcache | ||
Résultat | array |