ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
NullProviderFactory.php
Go to the documentation of this file.
1
<?
php
namespace
ILIAS\GlobalScreen\Provider
;
2
3
use
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Information\ItemInformation
;
4
10
class
NullProviderFactory
implements
ProviderFactoryInterface
11
{
12
16
public
function
getMainBarProvider
() : array
17
{
18
return
[];
19
}
20
21
25
public
function
getMainBarItemInformation
() :
ItemInformation
26
{
27
return
null;
28
}
29
30
34
public
function
getProviderByClassName
(
string
$class_name) :
Provider
35
{
36
// return new NullP;
37
}
38
39
43
public
function
isInstanceCreationPossible
(
string
$class_name) : bool
44
{
45
return
false
;
46
}
47
48
52
public
function
isRegistered
(
string
$class_name) : bool
53
{
54
return
false
;
55
}
56
}
ILIAS\GlobalScreen\Provider\NullProviderFactory\getMainBarProvider
getMainBarProvider()
Definition:
NullProviderFactory.php:16
ILIAS\GlobalScreen\Provider\ProviderFactoryInterface
Interface ProviderFactoryInterface.
Definition:
ProviderFactoryInterface.php:11
ILIAS\GlobalScreen\Provider\Provider
Interface Provider.
Definition:
Provider.php:8
ILIAS\GlobalScreen\Provider\NullProviderFactory\isRegistered
isRegistered(string $class_name)
Definition:
NullProviderFactory.php:52
ItemInformation
ILIAS\GlobalScreen\Provider\NullProviderFactory\getProviderByClassName
getProviderByClassName(string $class_name)
Definition:
NullProviderFactory.php:34
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Information\ItemInformation
Class ItemInformation.
Definition:
ItemInformation.php:14
ILIAS\GlobalScreen\Provider\NullProviderFactory
Class NullProviderFactory.
Definition:
NullProviderFactory.php:10
ILIAS\GlobalScreen\Provider\NullProviderFactory\getMainBarItemInformation
getMainBarItemInformation()
Definition:
NullProviderFactory.php:25
php
ILIAS\GlobalScreen\Provider\NullProviderFactory\isInstanceCreationPossible
isInstanceCreationPossible(string $class_name)
Definition:
NullProviderFactory.php:43
ILIAS\GlobalScreen\Provider
Definition:
AbstractProvider.php:1
src
GlobalScreen
Provider
NullProviderFactory.php
Generated on Thu Feb 27 2025 19:02:10 for ILIAS by
1.8.13 (using
Doxyfile
)