43 foreach ($node->children() as $child) {
44 switch ($child->getName()) {
47 $author =
new stdClass();
49 foreach ($child->children() as $authorNode) {
50 $author->{$authorNode->getName()} = (string) $authorNode;
52 $this->authors[] = $author;
55 foreach ($child->attributes() as $attribute) {
56 if ($attribute->getName() ===
"value") {
57 $this->links[] = (string) $attribute;
62 $this->{$child->getName()} = (string) $child;
70 public function getTitle()
78 public function getId()
86 public function getAuthors()
88 return $this->authors;
94 public function getLinks()