public static function GetAllDescriptions() { if (!self::$ALL_DESCRIPTIONS) { self::$ALL_DESCRIPTIONS = array(self::Undefined => '', self::PlainText => 'Plain text', self::BBCode => 'bbCode', self::Html => 'HTML'); } return self::$ALL_DESCRIPTIONS; }