Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / ponder / constants / PonderAnswerStatus.php
blobf0f30f30a71f125e60effc76d86fdbf2b48a446a
1 <?php
3 final class PonderAnswerStatus extends PonderConstants {
5 const ANSWER_STATUS_VISIBLE = 'visible';
6 const ANSWER_STATUS_HIDDEN = 'hidden';
8 public static function getAnswerStatusMap() {
9 return array(
10 self::ANSWER_STATUS_VISIBLE => pht('Visible'),
11 self::ANSWER_STATUS_HIDDEN => pht('Hidden'),
15 public static function getAnswerStatusName($status) {
16 $map = array(
17 self::ANSWER_STATUS_VISIBLE => pht('Visible'),
18 self::ANSWER_STATUS_HIDDEN => pht('Hidden'),
20 return idx($map, $status, pht('Unknown'));