PHP Интерфейс Sulu\Component\Security\Authorization\AccessControl\AccessControlProviderInterface

Показать файл Открыть проект

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

Метод Описание
getPermissions ( string $type, string $identifier ) : array Returns the permissions for all security identities.
setPermissions ( string $type, string $identifier, $permissions ) Sets the permissions for the object with the given class and id for the given security identity.
supports ( string $type ) : boolean Returns whether this provider supports the given type.

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

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

Returns the permissions for all security identities.
public getPermissions ( string $type, string $identifier ) : array
$type string The type of the protected object
$identifier string The identifier of the protected object
Результат array

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

Sets the permissions for the object with the given class and id for the given security identity.
public setPermissions ( string $type, string $identifier, $permissions )
$type string The name of the class to protect
$identifier string
$permissions

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

Returns whether this provider supports the given type.
public supports ( string $type ) : boolean
$type string The name of the class protect
Результат boolean