26 if (!class_exists($class_name)) {
27 throw new LogicException(
"Cannot store unknown provider {$class_name}");
33 $gsp->setProviderClass($class_name);
36 $gsp->setProviderClass($class_name);
37 $gsp->setPurpose($purpose);
38 $gsp->setDynamic(in_array(DynamicProvider::class, class_implements($class_name)));
43 foreach (
$instance->getAllIdentifications() as $identification) {
166 if (!$this->
instance instanceof
ILIAS\GlobalScreen\Provider\Provider) {
168 $this->
instance =
new $class_name($DIC);
static find($primary_key, array $add_constructor_args=array())
Class CachedActiveRecord.
static registerIdentifications(string $class_name, string $purpose)
static getInstance($component)
$connector_container_name
Class ilGSProviderStorage.
setPurpose(string $purpose)
setProviderClass(string $provider_class)
getConnectorContainerName()
setDynamic(bool $dynamic)
instance(Loop $newLoop=null)
Retrieves or sets the global Loop object.
static registerIdentification(\ILIAS\GlobalScreen\Identification\IdentificationInterface $identification, \ILIAS\GlobalScreen\Provider\Provider $provider)