ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\GlobalScreen\GUI\Tabs\Tab Class Reference
+ Collaboration diagram for ILIAS\GlobalScreen\GUI\Tabs\Tab:

Public Member Functions

 __construct (private string $id, private string $language_key, private URI $target, private string $handling_class, private ?Tab $parent=null,)
 
 getId ()
 
 getHandlingClass ()
 
 getLanguageKey ()
 
 getTarget ()
 
 getParent ()
 
 getPermission ()
 
 withPermission (string $permission)
 
 withParent (Tab $parent)
 

Private Attributes

string $permission = 'visible'
 

Detailed Description

Author
Fabian Schmid fabia.nosp@m.n@sr.nosp@m..solu.nosp@m.tion.nosp@m.s

Definition at line 29 of file Tab.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\GlobalScreen\GUI\Tabs\Tab::__construct ( private string  $id,
private string  $language_key,
private URI  $target,
private string  $handling_class,
private ?Tab  $parent = null 
)

Definition at line 33 of file Tab.php.

39 {
40 }

Member Function Documentation

◆ getHandlingClass()

ILIAS\GlobalScreen\GUI\Tabs\Tab::getHandlingClass ( )

Definition at line 47 of file Tab.php.

47 : string
48 {
49 return $this->handling_class;
50 }

◆ getId()

ILIAS\GlobalScreen\GUI\Tabs\Tab::getId ( )

Definition at line 42 of file Tab.php.

42 : string
43 {
44 return $this->id;
45 }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23

References $id.

Referenced by ILIAS\GlobalScreen\GUI\Tabs\Structure\add().

+ Here is the caller graph for this function:

◆ getLanguageKey()

ILIAS\GlobalScreen\GUI\Tabs\Tab::getLanguageKey ( )

Definition at line 52 of file Tab.php.

52 : string
53 {
54 return $this->language_key;
55 }

◆ getParent()

ILIAS\GlobalScreen\GUI\Tabs\Tab::getParent ( )

Definition at line 62 of file Tab.php.

62 : ?Tab
63 {
64 return $this->parent;
65 }

◆ getPermission()

ILIAS\GlobalScreen\GUI\Tabs\Tab::getPermission ( )

Definition at line 67 of file Tab.php.

67 : string
68 {
69 return $this->permission;
70 }

References ILIAS\GlobalScreen\GUI\Tabs\Tab\$permission.

◆ getTarget()

ILIAS\GlobalScreen\GUI\Tabs\Tab::getTarget ( )

Definition at line 57 of file Tab.php.

57 : URI
58 {
59 return $this->target;
60 }

◆ withParent()

ILIAS\GlobalScreen\GUI\Tabs\Tab::withParent ( Tab  $parent)

Definition at line 78 of file Tab.php.

78 : self
79 {
80 $this->parent = $parent;
81 return $this;
82 }

◆ withPermission()

ILIAS\GlobalScreen\GUI\Tabs\Tab::withPermission ( string  $permission)

Definition at line 72 of file Tab.php.

72 : self
73 {
74 $this->permission = $permission;
75 return $this;
76 }

References ILIAS\GlobalScreen\GUI\Tabs\Tab\$permission.

Field Documentation

◆ $permission

string ILIAS\GlobalScreen\GUI\Tabs\Tab::$permission = 'visible'
private

The documentation for this class was generated from the following file: