data['question'];
/** @var \Modules\QA\Models\QAAnswer[] $answers */
$answers = $question->getAnswersByScore();
/** @var array $scores */
$scores = $this->data['scores'];
echo $this->data['nav']->render();
?>
request->header->account !== $question->createdBy->account->id) : ?>
id);?>&type=1", "method": "PUT", "request_type": "json"},
{"key": 3, "type": "dom.reload", "delay": 0}
]
}
]' href="#">
= $question->getVoteScore(); ?>
= $this->getHtml('Score'); ?>
request->header->account !== $question->createdBy->account->id) : ?>
id);?>&type=-1", "method": "PUT", "request_type": "json"},
{"key": 3, "type": "dom.reload", "delay": 0}
]
}
]' href="#">
= $question->getAnswerCount(); ?>
Answers
= $this->printHtml($question->name); ?>
id === 0) : ?>
= $question->question; ?>
id !== 0) : ?>
request->header->account !== $answer->createdBy->account->id) : ?>
id);?>&type=1", "method": "PUT", "request_type": "json"},
{"key": 3, "type": "dom.reload", "delay": 0}
]
}
]' href="#">
= $answer->getVoteScore(); ?>
Score
request->header->account !== $answer->createdBy->account->id) : ?>
id);?>&type=-1", "method": "PUT", "request_type": "json"},
{"key": 3, "type": "dom.reload", "delay": 0}
]
}
]' href="#">