PHP Класс Koward, horde

Автор: Gunnar Wrobel ([email protected])
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$objectconf

Защищенные свойства (Protected)

Свойство Тип Описание
$instance Koward The singleton instance.
$map_class_type
$server

Открытые методы

Метод Описание
__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 ( )

Приватные методы

Метод Описание
_hasPermission ( &$root, $id, $perm )

Описание методов

__construct() публичный Метод

public __construct ( )

dispatch() публичный статический Метод

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

getObject() публичный Метод

public getObject ( $uid )

getServer() публичный Метод

public getServer ( )

getType() публичный Метод

public getType ( $mixed = null )

hasAccess() публичный Метод

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

hasPermission() публичный Метод

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 singleton ( )

Описание свойств

$instance защищенное статическое свойство

The singleton instance.
protected static Koward $instance
Результат Koward

$map_class_type защищенное статическое свойство

protected static $map_class_type

$objectconf публичное свойство

public $objectconf

$server защищенное статическое свойство

protected static $server