$_resource
$_resource : \Kronolith_Resource_Group
The share of this calendar.
Kronolith_Calendar_ResourceGroup defines an API for single internal resourcegroup calendars.
Copyright 2010-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.
$_resource : \Kronolith_Resource_Group
The share of this calendar.
hasPermission(integer $permission, string $user = null, string $creator = null) : boolean
Encapsulates permissions checking.
integer | $permission | The permission to check for. |
string | $user | The user to check permissions for. Defaults to the current user. |
string | $creator | An event creator, to check for creator permissions. |
Whether the user has the permission on this calendar.