PHP Интерфейс Sulu\Component\Content\Document\Behavior\SecurityBehavior

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

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

Метод Описание
getPermissions ( ) : array Returns the permissions for the document, with the role name as key and a boolean array with the permissions as value.
setPermissions ( array $permissions ) Sets the permission for the document. The passed array consists of the role name as key and a boolean array with the permissions as value.

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

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

Returns the permissions for the document, with the role name as key and a boolean array with the permissions as value.
public getPermissions ( ) : array
Результат array

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

Sets the permission for the document. The passed array consists of the role name as key and a boolean array with the permissions as value.
public setPermissions ( array $permissions )
$permissions array