getData('question'); /** @var \Modules\QA\Models\QAAnswer[] $answers */ $answers = $question->getAnswersByScore(); /** @var array $scores */ $scores = $this->getData('scores'); echo $this->getData('nav')->render(); ?>
getVoteScore(); ?> Score
getAnswerCount(); ?> Answers
printHtml($question->name); ?>
question; ?>
getTags(); foreach ($tags as $tag) : ?> icon) ? '' : ''; ?>printHtml($tag->getL11n()); ?>
getMedia(); foreach ($files as $file) : ?> name; ?>
getVoteScore(); ?> Score
printHtml($answer->isAccepted ? 'Accepted' : 'Accept'); ?>
answer; ?>