PHP Class Koward, horde

Author: Gunnar Wrobel ([email protected])
Exibir arquivo Open project: horde/horde Class Usage Examples

Public Properties

Property Type Description
$objectconf

Protected Properties

Property Type Description
$instance Koward The singleton instance.
$map_class_type
$server

Public Methods

Method Description
__construct ( )
dispatch ( $koward, $request_class = 'Horde_Controller_Request_Http', $webroot = null )
getObject ( $uid )
getServer ( )
getType ( $mixed = null )
hasAccess ( $id, $permission = Koward::PERM_SHOW )
hasPermission ( $id, $user = null, $perm = null ) In the long run we might wish to use the Horde permission system here. But for the first draft this would be too much as the permission system would also require integration with the group system etc.
singleton ( )

Private Methods

Method Description
_hasPermission ( &$root, $id, $perm )

Method Details

__construct() public method

public __construct ( )

dispatch() public static method

public static dispatch ( $koward, $request_class = 'Horde_Controller_Request_Http', $webroot = null )

getObject() public method

public getObject ( $uid )

getServer() public method

public getServer ( )

getType() public method

public getType ( $mixed = null )

hasAccess() public method

public hasAccess ( $id, $permission = Koward::PERM_SHOW )

hasPermission() public method

In the long run we might wish to use the Horde permission system here. But for the first draft this would be too much as the permission system would also require integration with the group system etc.
public hasPermission ( $id, $user = null, $perm = null )

singleton() public static method

public static singleton ( )

Property Details

$instance protected_oe static_oe property

The singleton instance.
protected static Koward $instance
return Koward

$map_class_type protected_oe static_oe property

protected static $map_class_type

$objectconf public_oe property

public $objectconf

$server protected_oe static_oe property

protected static $server