Class ContextRepository The Collection of all available Contexts in the System.
More...
|
| get (string $class_name, string $identifier) |
|
Class ContextRepository 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 34 of file ContextRepository.php.
◆ __construct()
ILIAS\GlobalScreen\ScreenContext\ContextRepository::__construct |
( |
| ) |
|
◆ administration()
ILIAS\GlobalScreen\ScreenContext\ContextRepository::administration |
( |
| ) |
|
◆ desktop()
ILIAS\GlobalScreen\ScreenContext\ContextRepository::desktop |
( |
| ) |
|
◆ external()
function ILIAS\GlobalScreen\ScreenContext\ContextRepository::external |
( |
| ) |
|
◆ get()
ILIAS\GlobalScreen\ScreenContext\ContextRepository::get |
( |
string |
$class_name, |
|
|
string |
$identifier |
|
) |
| |
|
private |
Definition at line 115 of file ContextRepository.php.
117 if (!isset($this->contexts[$identifier])) {
118 $this->contexts[$identifier] =
new $class_name($identifier);
121 return $this->contexts[$identifier];
◆ lti()
ILIAS\GlobalScreen\ScreenContext\ContextRepository::lti |
( |
| ) |
|
◆ main()
ILIAS\GlobalScreen\ScreenContext\ContextRepository::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: