The Collection of all available Contexts in the System.
More...
|
| | get (string $class_name, string $identifier) |
| |
The Collection of all available Contexts in the System.
You can use them in your
- See also
- ScreenContextAwareProvider to announce you are interested in.
- Author
- Fabian Schmid fs@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch
Definition at line 35 of file ContextRepository.php.
◆ __construct()
| ILIAS\GlobalScreen\ScreenContext\ContextRepository::__construct |
( |
| ) |
|
◆ administration()
| ILIAS\GlobalScreen\ScreenContext\ContextRepository::administration |
( |
| ) |
|
Definition at line 87 of file ContextRepository.php.
89 return $this->
get(BasicScreenContext::class, self::C_ADMINISTRATION);
◆ desktop()
| ILIAS\GlobalScreen\ScreenContext\ContextRepository::desktop |
( |
| ) |
|
Definition at line 69 of file ContextRepository.php.
71 return $this->
get(BasicScreenContext::class, self::C_DESKTOP);
◆ external()
| function ILIAS\GlobalScreen\ScreenContext\ContextRepository::external |
( |
| ) |
|
◆ get()
| ILIAS\GlobalScreen\ScreenContext\ContextRepository::get |
( |
string |
$class_name, |
|
|
string |
$identifier |
|
) |
| |
|
private |
Definition at line 97 of file ContextRepository.php.
99 if (!isset($this->contexts[$identifier])) {
100 $this->contexts[$identifier] =
new $class_name($identifier);
103 return $this->contexts[$identifier];
◆ lti()
| ILIAS\GlobalScreen\ScreenContext\ContextRepository::lti |
( |
| ) |
|
◆ main()
| ILIAS\GlobalScreen\ScreenContext\ContextRepository::main |
( |
| ) |
|
Definition at line 54 of file ContextRepository.php.
56 return $this->
get(BasicScreenContext::class, self::C_MAIN);
◆ repository()
| ILIAS\GlobalScreen\ScreenContext\ContextRepository::repository |
( |
| ) |
|
◆ $contexts
| array ILIAS\GlobalScreen\ScreenContext\ContextRepository::$contexts = [] |
|
private |
◆ $refinery
| Factory ILIAS\GlobalScreen\ScreenContext\ContextRepository::$refinery |
|
protected |
◆ $wrapper
| WrapperFactory ILIAS\GlobalScreen\ScreenContext\ContextRepository::$wrapper |
|
protected |
◆ C_ADMINISTRATION
| const ILIAS\GlobalScreen\ScreenContext\ContextRepository::C_ADMINISTRATION = 'administration' |
|
private |
◆ C_DESKTOP
| const ILIAS\GlobalScreen\ScreenContext\ContextRepository::C_DESKTOP = 'desktop' |
|
private |
◆ C_LTI
| const ILIAS\GlobalScreen\ScreenContext\ContextRepository::C_LTI = 'lti' |
|
private |
◆ C_MAIN
| const ILIAS\GlobalScreen\ScreenContext\ContextRepository::C_MAIN = 'main' |
|
private |
◆ C_REPO
| const ILIAS\GlobalScreen\ScreenContext\ContextRepository::C_REPO = 'repo' |
|
private |
The documentation for this class was generated from the following file: