3 final class PonderAnswerStatus
extends PonderConstants
{
5 const ANSWER_STATUS_VISIBLE
= 'visible';
6 const ANSWER_STATUS_HIDDEN
= 'hidden';
8 public static function getAnswerStatusMap() {
10 self
::ANSWER_STATUS_VISIBLE
=> pht('Visible'),
11 self
::ANSWER_STATUS_HIDDEN
=> pht('Hidden'),
15 public static function getAnswerStatusName($status) {
17 self
::ANSWER_STATUS_VISIBLE
=> pht('Visible'),
18 self
::ANSWER_STATUS_HIDDEN
=> pht('Hidden'),
20 return idx($map, $status, pht('Unknown'));