Class Horde_Registry_Application
Default class for the Horde Application API.
Copyright 2009-2012 Horde LLC (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Category: Horde
Author: Michael Slusarz slusarz@horde.org
Located at Horde/Registry/Application.php
public
|
#
appInitFailure( Horde_Exception $e )
Application-specific code to run if application auth fails. Called from Horde_Registry::appInit(). |
final public
|
|
public
|
|
public
|
|
public
|
|
public
array
|
|
public
mixed
|
#
hasPermission( string $permission, mixed $allowed, array $opts = array() )
Returns the specified permission for the given app permission. |
public
|
#
setupNotification( Horde_Notification_Handler $handler )
Modifies the global notification handler. |
public
array
|
|
public
array
|
|
public
|
#
authAuthenticate( string $userId, array $credentials )
Tries to authenticate with the server and create a session. |
public
boolean
|
#
authTransparent(
Tries to transparently authenticate with the server and create a session. |
public
|
#
authAuthenticateCallback( )
Does necessary authentication tasks reliant on a full app environment. |
public
boolean
|
|
public
|
#
authAddUser( string $userId, array $credentials )
Adds a user defined by authentication credentials. |
public
|
#
authUpdateUser( string $oldId, string $newId, array $credentials )
Update an existing user's credentials. |
public
|
|
public
boolean
|
|
public
array
|
|
public
string
|
|
public
|
|
public
|
#
prefsGroup(
Determine active prefs when displaying a group. This is where all suppress/overrides should be defined. |
public
|
|
public
string
|
#
prefsSpecial(
Generate code used to display a special preference. |
public
boolean
|
#
prefsSpecialUpdate(
Special preferences handling on update. |
public
array
|
|
public
|
#
sidebarCreate( Horde_Tree_Base $tree, string $parent = null, array $params = array() )
Add node(s) to the sidebar tree. |
public
|
public
boolean
|
$ajaxView
Does this application support an ajax view? |
#
false
|
public
array
|
$auth
The list of available authentication capabilities handled by this application. The full capability list can be found in Horde_Core_Auth_Application. |
#
array()
|
public
array
|
$initParams
The init params used. |
#
array()
|
public
boolean
|
$mobileView
Does this application support a mobile view? |
#
false
|
public
string
|
$version
The application's version. |
#
'unknown'
|