ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
ILIAS\Test\Questions\Presentation Namespace Reference

Data Structures

class  Printer
 
class  QuestionsBrowserFilter
 
class  QuestionsBrowserTable
 
class  QuestionsOfAttemptTable
 
class  QuestionsTable
 
class  QuestionsTableActions
 
class  QuestionsTableQuery
 

Enumerations

enum  Types : string { getLabel }
 

Enumeration Type Documentation

◆ Types

Enumerator
getLabel 

Definition at line 26 of file Types.php.

26  : string
27 {
28  case RESULTS_VIEW_TYPE_SHOW = 'show';
29  case RESULTS_VIEW_TYPE_HIDE = 'hide';
30 
31  public function getLabel(Language $lng): string
32  {
33  return match($this) {
34  self::RESULTS_VIEW_TYPE_SHOW => $lng->txt('show_best_solution'),
35  self::RESULTS_VIEW_TYPE_HIDE => $lng->txt('hide_best_solution')
36  };
37  }
38 }
global $lng
Definition: privfeed.php:32