Lines Matching refs:addressBookId
98 * @param string $addressBookId
102 function updateAddressBook($addressBookId, \Sabre\DAV\PropPatch $propPatch) { argument
109 $propPatch->handle($supportedProperties, function($mutations) use ($addressBookId) {
136 $updates['addressbookid'] = $addressBookId;
140 $this->addChange($addressBookId, "", 2);
190 * @param int $addressBookId
193 function deleteAddressBook($addressBookId) { argument
196 $stmt->execute([$addressBookId]);
199 $stmt->execute([$addressBookId]);
202 $stmt->execute([$addressBookId]);
247 * @param mixed $addressBookId
251 function getCard($addressBookId, $cardUri) { argument
254 $stmt->execute([$addressBookId, $cardUri]);
273 * @param mixed $addressBookId
277 function getMultipleCards($addressBookId, array $uris) { argument
285 $stmt->execute(array_merge([$addressBookId], $uris));
315 * @param mixed $addressBookId
320 function createCard($addressBookId, $cardUri, $cardData) { argument
330 $addressBookId,
335 $this->addChange($addressBookId, $cardUri, 1);
361 * @param mixed $addressBookId
366 function updateCard($addressBookId, $cardUri, $cardData) { argument
377 $addressBookId
380 $this->addChange($addressBookId, $cardUri, 2);
389 * @param mixed $addressBookId
393 function deleteCard($addressBookId, $cardUri) { argument
396 $stmt->execute([$addressBookId, $cardUri]);
398 $this->addChange($addressBookId, $cardUri, 3);
454 * @param string $addressBookId
460 function getChangesForAddressBook($addressBookId, $syncToken, $syncLevel, $limit = null) { argument
464 $stmt->execute([ $addressBookId ]);
483 $stmt->execute([$syncToken, $currentToken, $addressBookId]);
514 $stmt->execute([$addressBookId]);
525 * @param mixed $addressBookId
530 protected function addChange($addressBookId, $objectUri, $operation) { argument
535 $addressBookId,
537 $addressBookId
541 $addressBookId