data['news']; /** @var bool $editable */ $editable = $this->data['editable']; /** @var \Modules\Tag\Models\Tag[] $tags */ $tags = $news->getTags(); $profile = UriFactory::build('profile/single?{?}&id=' . $news->createdBy->id); /** @var \phpOMS\Views\View $this */ echo $this->data['nav']->render(); ?>
getMedia(); foreach ($files as $file) : ?> name; ?>
icon) ? '' : ''; ?>printHtml($tag->getL11n()); ?>
comments; if (!empty($commentList) && $commentList->status !== CommentListStatus::INACTIVE) : /* @todo: check if user has permission to create a comment here, maybe he is only allowed to read comments */ echo $this->getData('commentCreate')->render(1); echo $this->getData('commentList')->render($commentList); endif; ?>