getData('news'); /** @var bool $editable */ $editable = $this->getData('editable'); /** @var \Modules\Tag\Models\Tag[] $tag */ $tags = $news->getTags(); /** @var \phpOMS\Views\View $this */ echo $this->getData('nav')->render(); ?>

printHtml($news->getTitle()); ?>

getContent(); ?>
printHtml($tag->getTitle()); ?>
getComments(); if (!empty($commentList) && $commentList->isActive()) : /* @todo: check if user has permission to create a comment here, maybe he is only allowed to read comments */ /* @todo: instead of creating a custom news list or news textarea I should create a component which simply gets loaded on the pages by passing the commentList id and the comments to show */ $this->getData('commentCreate')->render(1); $this->getData('commentList')->render(1); endif; ?>