/** * Returns the full list of cards * * @return array */ public function getChildren() { $objs = $this->carddavBackend->getCards($this->addressBookInfo['id']); $children = array(); foreach ($objs as $obj) { $children[] = new Card($this->carddavBackend, $this->addressBookInfo, $obj); } return $children; }
/** * Returns the full list of cards * * @return array */ function getChildren() { $objs = $this->carddavBackend->getCards($this->addressBookInfo['id']); $children = []; foreach ($objs as $obj) { $obj['acl'] = $this->getChildACL(); $children[] = new Card($this->carddavBackend, $this->addressBookInfo, $obj); } return $children; }