pht('None'), self::NEEDS_AUDIT => pht('Audit Required'), self::CONCERN_RAISED => pht('Concern Raised'), self::PARTIALLY_AUDITED => pht('Partially Audited'), self::FULLY_AUDITED => pht('Audited'), ); return $map; } public static function getStatusName($code) { return idx(self::getStatusNameMap(), $code, 'Unknown'); } public static function getOpenStatusConstants() { return array( self::CONCERN_RAISED, self::NEEDS_AUDIT, ); } }