This method takes the $conf['share']['hidden'] setting into account. If
this setting is enabled, even if requesting permissions different than
SHOW, it will only return calendars that the user owns or has SHOW
permissions for. For checking individual calendar's permissions, use
hasPermission() instead.
public static listInternalCalendars ( boolean $owneronly = false, integer $permission = Horde_Perms::SHOW, string $user = null ) : array | ||
$owneronly | boolean | Only return calenders that this user owns? Defaults to false. |
$permission | integer | The permission to filter calendars by. |
$user | string | The user to list calendars for, if not the current. |
return | array | The calendar list. |