$_api
$_api : string
The application of this timeobject source.
Kronolith_Calendar_External defines an API for single timeobject 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.