PHP Class Ingo, horde

Author: Mike Cochrane ([email protected])
Author: Jan Schneider ([email protected])
Datei anzeigen Open project: horde/horde Class Usage Examples

Public Methods

Method Description
getDomain ( ) : string Returns the domain name, if any of the user whose rules are currently being edited.
getInitialPage ( ) : Horde_Url Return Ingo's initial page.
getUser ( boolean $full = true ) : string Returns the user whose rules are currently being edited.
hasSharePermission ( $mask = null ) : boolean Check share permissions.
loadBackends ( ) : array Loads the backends.php configuration file.

Method Details

getDomain() public static method

Returns the domain name, if any of the user whose rules are currently being edited.
public static getDomain ( ) : string
return string The current user's domain name.

getInitialPage() public static method

Return Ingo's initial page.
public static getInitialPage ( ) : Horde_Url
return Horde_Url URL object.

getUser() public static method

Returns the user whose rules are currently being edited.
public static getUser ( boolean $full = true ) : string
$full boolean Always return the full user name with realm?
return string The current user.

hasSharePermission() public static method

Check share permissions.
public static hasSharePermission ( $mask = null ) : boolean
return boolean True if user has permission.

loadBackends() public static method

Loads the backends.php configuration file.
public static loadBackends ( ) : array
return array Configuration data.