ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
ILIAS\GlobalScreen Namespace Reference

PhpIncompatibleReturnTypeInspection More...

Namespaces

 Client
 This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
 
 Collector
 PhpIncompatibleReturnTypeInspection
 
 Helper
 
 Identification
 This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
 
 MainMenu
 This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
 
 Provider
 This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
 
 Scope
 
 ScreenContext
 This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
 
 UI
 

Data Structures

class  ADNProvider
 Class ADNProvider. More...
 
class  BadgeNotificationProvider
 
class  ChatInvitationNotificationProvider
 
class  Services
 

Functions

 get (string $class_name)
 
 getWithArgument (string $class_name, $argument)
 
 getWithMultipleArguments (string $class_name, array $arguments)
 
 has (string $class_name)
 

Detailed Description

PhpIncompatibleReturnTypeInspection

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning

Function Documentation

◆ get()

ILIAS\GlobalScreen\get ( string  $class_name)
private

Definition at line 32 of file SingletonTrait.php.

References ILIAS\GlobalScreen\has().

Referenced by ILIAS\MediaObjects\ImageMap\ImageMapEditSessionRepository\get(), ilDate\get(), ILIAS\Survey\Execution\RunSessionRepo\getAllPreviewData(), ILIAS\COPage\PC\MapEditorSessionRepository\getAreaNr(), ILIAS\COPage\PC\MapEditorSessionRepository\getAreaType(), ilBadgeManagementSessionRepository\getBadgeIds(), ILIAS\PersonalWorkspace\WorkspaceSessionRepository\getClipboardCmd(), ILIAS\PersonalWorkspace\WorkspaceSessionRepository\getClipboardShared(), ILIAS\PersonalWorkspace\WorkspaceSessionRepository\getClipboardSourceIds(), ILIAS\PersonalWorkspace\WorkspaceSessionRepository\getClipboardWsp2Repo(), ILIAS\Repository\Clipboard\ClipboardSessionRepository\getCmd(), ILIAS\Survey\Execution\RunSessionRepo\getCode(), ILIAS\Survey\Editing\EditSessionRepo\getConstraintElements(), ILIAS\Survey\Editing\EditSessionRepo\getConstraintStructure(), ILIAS\COPage\PC\MapEditorSessionRepository\getCoords(), ILIAS\Survey\Execution\RunSessionRepo\getErrors(), ILIAS\Style\Content\ItemSessionRepository\getExpanded(), ILIAS\MediaPool\Clipboard\ClipboardSessionRepository\getIds(), ILIAS\Glossary\Flashcard\FlashcardSessionRepository\getInitialTerms(), ILIAS\Glossary\Term\TermSessionRepository\getLang(), ILIAS\MetaData\Vocabularies\Dispatch\Presentation\Presentation\PresentationSessionRepository\getLetter(), ILIAS\COPage\PC\MapEditorSessionRepository\getLinkFrame(), ILIAS\COPage\PC\MapEditorSessionRepository\getLinkTarget(), ILIAS\COPage\PC\MapEditorSessionRepository\getLinkType(), ILIAS\COPage\Editor\EditSessionRepository\getMediaPool(), ILIAS\COPage\PC\MapEditorSessionRepository\getMode(), ILIAS\Survey\Editing\EditSessionRepo\getMoveSurveyId(), ILIAS\Survey\Editing\EditSessionRepo\getMoveSurveyQuestions(), ILIAS\Block\BlockSessionRepository\getNavPar(), ILIAS\Awareness\AwarenessSessionRepository\getOnlineUsersTS(), ILIAS\Survey\Execution\RunSessionRepo\getPageEnter(), ILIAS\COPage\Editor\EditSessionRepository\getPageError(), ILIAS\MetaData\Vocabularies\Dispatch\Presentation\Presentation\PresentationSessionRepository\getPageLength(), ILIAS\Survey\Editing\EditSessionRepo\getPoolChoice(), ILIAS\Survey\Execution\RunSessionRepo\getPostData(), arFieldCache\getPrimaryFieldName(), arFieldCache\getPrimaryFieldType(), ILIAS\Style\Content\BlockSessionRepository\getProperty(), ILIAS\COPage\Editor\EditSessionRepository\getQuestionPool(), ILIAS\Repository\Clipboard\ClipboardSessionRepository\getRefIds(), ILIAS\Portfolio\Access\AccessSessionRepository\getSharedSessionPassword(), ILIAS\Notes\NotesSessionRepository\getSortAscending(), ILIAS\COPage\Editor\EditSessionRepository\getSubCmd(), ILIAS\UI\examples\Progress\Bar\getTaskProgress(), ILIAS\Glossary\Flashcard\FlashcardSessionRepository\getTerms(), ILIAS\COPage\Editor\EditSessionRepository\getTextLang(), ilTemplate\getUnmodified(), ILIAS\MetaData\Vocabularies\Dispatch\Presentation\Presentation\PresentationSessionRepository\getViewControlLength(), ILIAS\MetaData\Vocabularies\Dispatch\Presentation\Presentation\PresentationSessionRepository\getViewControlStart(), ilSession\lookupExpireTime(), and ActiveRecord\preloadObjects().

32  : object
33  {
34  if (!$this->has($class_name)) {
35  self::$services[$class_name] = new $class_name();
36  }
37 
38  return self::$services[$class_name];
39  }
has(string $class_name)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getWithArgument()

ILIAS\GlobalScreen\getWithArgument ( string  $class_name,
  $argument 
)
private

Definition at line 41 of file SingletonTrait.php.

References ILIAS\GlobalScreen\has().

Referenced by ILIAS\GlobalScreen\Services\collector(), ILIAS\GlobalScreen\Services\identification(), ILIAS\GlobalScreen\Services\layout(), ILIAS\Awareness\User\Collector\CollectorFactory\metaBar(), ILIAS\Awareness\User\Collector\CollectorFactory\notifications(), and ILIAS\Awareness\User\Collector\CollectorFactory\toasts().

41  : object
42  {
43  if (!$this->has($class_name)) {
44  self::$services[$class_name] = new $class_name($argument);
45  }
46 
47  return self::$services[$class_name];
48  }
has(string $class_name)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getWithMultipleArguments()

ILIAS\GlobalScreen\getWithMultipleArguments ( string  $class_name,
array  $arguments 
)
private

Definition at line 50 of file SingletonTrait.php.

References ILIAS\GlobalScreen\has().

Referenced by ILIAS\Awareness\User\Collector\CollectorFactory\footer(), ILIAS\Awareness\User\Collector\CollectorFactory\layout(), ILIAS\Awareness\User\Collector\CollectorFactory\mainmenu(), and ILIAS\Awareness\User\Collector\CollectorFactory\tool().

50  : object
51  {
52  if (!$this->has($class_name)) {
53  $i = new ReflectionClass($class_name);
54 
55  self::$services[$class_name] = $i->newInstanceArgs($arguments);
56  }
57 
58  return self::$services[$class_name];
59  }
has(string $class_name)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ has()