Метод | Описание | |
---|---|---|
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. |
public getPermissions ( ) : array | ||
Результат | array |
public setPermissions ( array $permissions ) | ||
$permissions | array |