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