135            if (
$name == $child->getName())
 
  148    function getChildren() { 
  150        $addressbooks = $this->carddavBackend->getAddressBooksForUser($this->principalUri); 
  152        foreach ($addressbooks as $addressbook) { 
  153            $objs[] = new AddressBook($this->carddavBackend, $addressbook); 
  167    function createExtendedCollection($name, MkCol $mkCol) { 
  169        if (!$mkCol->hasResourceType('{
' . Plugin::NS_CARDDAV . '}addressbook
')) { 
  170            throw new DAV\Exception\InvalidResourceType('Unknown resourceType 
for this collection
'); 
  172        $properties = $mkCol->getRemainingValues(); 
  173        $mkCol->setRemainingResultCode(201); 
  174        $this->carddavBackend->createAddressBook($this->principalUri, $name, $properties); 
  185    function getOwner() { 
  187        return $this->principalUri; 
An exception for terminatinating execution or to throw for unit testing.
createFile($filename, $data=null)
Creates a new file under this object.
getLastModified()
Returns the last modification date.
getName()
Returns the name of this object.
setName($name)
Updates the name of this object.
getChildren()
Returns a list of addressbooks.
createDirectory($filename)
Creates a new directory under this object.
__construct(Backend\BackendInterface $carddavBackend, $principalUri)
Constructor.
getChild($name)
Returns a single addressbook, by name.
This class represents a MKCOL operation.
The IExtendedCollection interface.
split($path)
Returns the 'dirname' and 'basename' for a path.