summaryrefslogtreecommitdiff
path: root/lib/Kolab
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Kolab')
-rw-r--r--lib/Kolab/CardDAV/AddressBook.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/Kolab/CardDAV/AddressBook.php b/lib/Kolab/CardDAV/AddressBook.php
index 285ed9c..305e232 100644
--- a/lib/Kolab/CardDAV/AddressBook.php
+++ b/lib/Kolab/CardDAV/AddressBook.php
@@ -86,6 +86,19 @@ class AddressBook extends \Sabre\CardDAV\AddressBook implements \Sabre\CardDAV\I
}
/**
+ * Returns a card
+ *
+ * @param string $name
+ * @return \ICard
+ *
+ public function getChild($name)
+ {
+ $obj = $this->carddavBackend->getCard($this->addressBookInfo['id'], $name);
+ if (!$obj) throw new DAV\Exception\NotFound('Card not found');
+ return new Card($this->carddavBackend,$this->addressBookInfo, $obj);
+ }*/
+
+ /**
* Returns a list of ACE's for this node.
*
* Each ACE has the following properties: