__construct()
__construct(array $params = array())
Constructor.
Parameters
array | $params | A hash with any parameters that this calendar might need. |
Kronolith_Calendar defines an API for single 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.