Example #1
0
 /**
  * {@inheritdoc}
  */
 public function getTags()
 {
     if (!isset($this->tags)) {
         $this->tags = [];
         $tags = $this->tagMapper->findPageTags($this->getId());
         foreach ($tags as $tag) {
             $this->tags[] = $tag->getTag();
         }
     }
     return $this->tags;
 }
Example #2
0
 /**
  * {@inheritDoc}
  */
 public function findSiteTags($siteId)
 {
     return $this->mapper->findSiteTags($siteId, false);
 }