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