ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
r
s
t
w
+
Functions
_
a
b
c
f
g
h
i
r
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
AbstractBaseTool.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\GlobalScreen\Scope\Tool\Factory
;
22
23
use
Closure
;
24
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\AbstractParentItem
;
25
use
ILIAS\GlobalScreen\Scope\SymbolDecoratorTrait
;
26
31
abstract
class
AbstractBaseTool
extends
AbstractParentItem
implements
isToolItem
32
{
33
use
SymbolDecoratorTrait
;
34
38
protected
$close_callback
;
39
43
protected
$initially_hidden
=
false
;
44
48
public
function
withInitiallyHidden
(
bool
$initially_hidden
) :
isToolItem
49
{
50
$clone = clone($this);
51
$clone->initially_hidden =
$initially_hidden
;
52
53
return
$clone;
54
}
55
59
public
function
isInitiallyHidden
() : bool
60
{
61
return
$this->initially_hidden
;
62
}
63
67
public
function
withCloseCallback
(
Closure
$close_callback
) :
isToolItem
68
{
69
$clone = clone($this);
70
$clone->close_callback =
$close_callback
;
71
72
return
$clone;
73
}
74
78
public
function
getCloseCallback
() :
Closure
79
{
80
return
$this->close_callback
;
81
}
82
86
public
function
hasCloseCallback
() : bool
87
{
88
return
$this->close_callback instanceof
Closure
;
89
}
90
}
AbstractParentItem
ILIAS\GlobalScreen\Scope\Tool\Factory\AbstractBaseTool\$close_callback
$close_callback
Definition:
AbstractBaseTool.php:38
ILIAS\GlobalScreen\Scope\Tool\Factory\isToolItem
Interface isToolItem.
Definition:
isToolItem.php:31
ILIAS\GlobalScreen\Scope\Tool\Factory\AbstractBaseTool\withCloseCallback
withCloseCallback(Closure $close_callback)
Definition:
AbstractBaseTool.php:67
ILIAS\GlobalScreen\Scope\Tool\Factory\AbstractBaseTool\isInitiallyHidden
isInitiallyHidden()
Definition:
AbstractBaseTool.php:59
ILIAS\GlobalScreen\Scope\SymbolDecoratorTrait
trait SymbolDecoratorTrait
Definition:
SymbolDecoratorTrait.php:37
Closure
ILIAS\GlobalScreen\Scope\Tool\Factory\AbstractBaseTool\$initially_hidden
$initially_hidden
Definition:
AbstractBaseTool.php:43
ILIAS\GlobalScreen\Scope\Tool\Factory\AbstractBaseTool\getCloseCallback
getCloseCallback()
Definition:
AbstractBaseTool.php:78
ILIAS\GlobalScreen\Scope\Tool\Factory
Definition:
AbstractBaseTool.php:21
ILIAS\GlobalScreen\Scope\MainMenu\Factory\AbstractParentItem
Class AbstractParentItem.
Definition:
AbstractParentItem.php:26
ILIAS\GlobalScreen\Scope\Tool\Factory\AbstractBaseTool\hasCloseCallback
hasCloseCallback()
Definition:
AbstractBaseTool.php:86
ILIAS\GlobalScreen\Scope\Tool\Factory\AbstractBaseTool
Class AbstractBaseTool.
Definition:
AbstractBaseTool.php:31
ILIAS\GlobalScreen\Scope\Tool\Factory\AbstractBaseTool\withInitiallyHidden
withInitiallyHidden(bool $initially_hidden)
Definition:
AbstractBaseTool.php:48
src
GlobalScreen
Scope
Tool
Factory
AbstractBaseTool.php
Generated on Wed Apr 2 2025 21:01:42 for ILIAS by
1.8.13 (using
Doxyfile
)