$_share
$_share : \Horde_Share_Object
The share of this calendar.
Kronolith_Calendar_Internal defines an API for single internal (share) 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.
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.