32 return $this->
get(BasicScreenContext::class, self::C_MAIN);
41 return $this->
get(BasicScreenContext::class,
'internal');
50 return $this->
get(BasicScreenContext::class,
'external');
59 return $this->
get(BasicScreenContext::class, self::C_DESKTOP);
68 $context = $this->
get(BasicScreenContext::class, self::C_REPO);
80 return $this->
get(BasicScreenContext::class, self::C_ADMINISTRATION);
89 return $this->
get(BasicScreenContext::class, self::C_LTI);
99 private function get(
string $class_name,
string $identifier)
101 if (!isset($this->contexts[$identifier])) {
102 $this->contexts[$identifier] =
new $class_name($identifier);
105 return $this->contexts[$identifier];