Lines Matching refs:calendarId
264 $calendarId = $this->pdo->lastInsertId(
268 $values[':calendarid'] = $calendarId;
283 $calendarId,
301 * @param mixed $calendarId
305 function updateCalendar($calendarId, \Sabre\DAV\PropPatch $propPatch) { argument
307 if (!is_array($calendarId)) {
310 list($calendarId, $instanceId) = $calendarId;
315 … $propPatch->handle($supportedProperties, function($mutations) use ($calendarId, $instanceId) {
340 $this->addChange($calendarId, "", 2);
351 * @param mixed $calendarId
354 function deleteCalendar($calendarId) { argument
356 if (!is_array($calendarId)) {
359 list($calendarId, $instanceId) = $calendarId;
372 $stmt->execute([$calendarId]);
375 $stmt->execute([$calendarId]);
378 $stmt->execute([$calendarId]);
381 $stmt->execute([$calendarId]);
425 * @param mixed $calendarId
428 function getCalendarObjects($calendarId) { argument
430 if (!is_array($calendarId)) {
433 list($calendarId, $instanceId) = $calendarId;
436 $stmt->execute([$calendarId]);
466 * @param mixed $calendarId
470 function getCalendarObject($calendarId, $objectUri) { argument
472 if (!is_array($calendarId)) {
475 list($calendarId, $instanceId) = $calendarId;
478 $stmt->execute([$calendarId, $objectUri]);
503 * @param mixed $calendarId
507 function getMultipleCalendarObjects($calendarId, array $uris) { argument
509 if (!is_array($calendarId)) {
512 list($calendarId, $instanceId) = $calendarId;
522 $stmt->execute(array_merge([$calendarId], $chunk));
556 * @param mixed $calendarId
561 function createCalendarObject($calendarId, $objectUri, $calendarData) { argument
563 if (!is_array($calendarId)) {
566 list($calendarId, $instanceId) = $calendarId;
572 $calendarId,
583 $this->addChange($calendarId, $objectUri, 1);
602 * @param mixed $calendarId
607 function updateCalendarObject($calendarId, $objectUri, $calendarData) { argument
609 if (!is_array($calendarId)) {
612 list($calendarId, $instanceId) = $calendarId;
617 …aData['firstOccurence'], $extraData['lastOccurence'], $extraData['uid'], $calendarId, $objectUri]);
619 $this->addChange($calendarId, $objectUri, 2);
716 * @param mixed $calendarId
720 function deleteCalendarObject($calendarId, $objectUri) { argument
722 if (!is_array($calendarId)) {
725 list($calendarId, $instanceId) = $calendarId;
728 $stmt->execute([$calendarId, $objectUri]);
730 $this->addChange($calendarId, $objectUri, 3);
782 * @param mixed $calendarId
786 function calendarQuery($calendarId, array $filters) { argument
788 if (!is_array($calendarId)) {
791 list($calendarId, $instanceId) = $calendarId;
830 'calendarid' => $calendarId,
959 * @param mixed $calendarId
965 function getChangesForCalendar($calendarId, $syncToken, $syncLevel, $limit = null) { argument
967 if (!is_array($calendarId)) {
970 list($calendarId, $instanceId) = $calendarId;
974 $stmt->execute([$calendarId]);
993 $stmt->execute([$syncToken, $currentToken, $calendarId]);
1024 $stmt->execute([$calendarId]);
1035 * @param mixed $calendarId
1040 protected function addChange($calendarId, $objectUri, $operation) { argument
1045 $calendarId,
1047 $calendarId
1051 $calendarId
1339 * @param mixed $calendarId
1343 function updateInvites($calendarId, array $sharees) { argument
1345 if (!is_array($calendarId)) {
1348 $currentInvites = $this->getInvites($calendarId);
1349 list($calendarId, $instanceId) = $calendarId;
1392 $removeStmt->execute([$calendarId, $sharee->href]);
1418 $calendarId,
1427 $calendarId,
1453 * @param mixed $calendarId
1456 function getInvites($calendarId) { argument
1458 if (!is_array($calendarId)) {
1461 list($calendarId, $instanceId) = $calendarId;
1476 $stmt->execute([$calendarId]);
1501 * @param mixed $calendarId
1505 function setPublishStatus($calendarId, $value) { argument