ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ 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
s
t
w
+
Functions
_
a
b
c
f
g
h
i
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 declare(strict_types=1);
2
3
namespace
ILIAS\GlobalScreen\Scope\Tool\Factory
;
4
5
use
Closure
;
6
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\AbstractParentItem
;
7
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\SymbolDecoratorTrait
;
8
13
abstract
class
AbstractBaseTool
extends
AbstractParentItem
implements
isToolItem
14
{
15
use
SymbolDecoratorTrait
;
19
protected
$close_callback
;
23
protected
$initially_hidden
=
false
;
24
28
public
function
withInitiallyHidden
(
bool
$initially_hidden
) :
isToolItem
29
{
30
$clone = clone($this);
31
$clone->initially_hidden =
$initially_hidden
;
32
33
return
$clone;
34
}
35
39
public
function
isInitiallyHidden
() : bool
40
{
41
return
$this->initially_hidden
;
42
}
43
47
public
function
withCloseCallback
(
Closure
$close_callback
) :
isToolItem
48
{
49
$clone = clone($this);
50
$clone->close_callback =
$close_callback
;
51
52
return
$clone;
53
}
54
58
public
function
getCloseCallback
() :
Closure
59
{
60
return
$this->close_callback
;
61
}
62
66
public
function
hasCloseCallback
() : bool
67
{
68
return
$this->close_callback instanceof
Closure
;
69
}
70
}
AbstractParentItem
ILIAS\GlobalScreen\Scope\Tool\Factory\AbstractBaseTool\$close_callback
$close_callback
Definition:
AbstractBaseTool.php:19
ILIAS\GlobalScreen\Scope\Tool\Factory\isToolItem
Interface isToolItem.
Definition:
isToolItem.php:15
ILIAS\GlobalScreen\Scope\Tool\Factory\AbstractBaseTool\withCloseCallback
withCloseCallback(Closure $close_callback)
Definition:
AbstractBaseTool.php:47
ILIAS\GlobalScreen\Scope\Tool\Factory\AbstractBaseTool\isInitiallyHidden
isInitiallyHidden()
Definition:
AbstractBaseTool.php:39
Closure
ILIAS\GlobalScreen\Scope\Tool\Factory\AbstractBaseTool\$initially_hidden
$initially_hidden
Definition:
AbstractBaseTool.php:23
ILIAS\GlobalScreen\Scope\Tool\Factory\AbstractBaseTool\getCloseCallback
getCloseCallback()
Definition:
AbstractBaseTool.php:58
ILIAS\GlobalScreen\Scope\Tool\Factory
Definition:
AbstractBaseTool.php:3
ILIAS\GlobalScreen\Scope\MainMenu\Factory\AbstractParentItem
Class AbstractParentItem.
Definition:
AbstractParentItem.php:7
ILIAS\GlobalScreen\Scope\Tool\Factory\AbstractBaseTool\hasCloseCallback
hasCloseCallback()
Definition:
AbstractBaseTool.php:66
ILIAS\GlobalScreen\Scope\Tool\Factory\AbstractBaseTool
Class AbstractBaseTool.
Definition:
AbstractBaseTool.php:13
ILIAS\GlobalScreen\Scope\MainMenu\Factory\SymbolDecoratorTrait
trait SymbolDecoratorTrait
Definition:
SymbolDecoratorTrait.php:18
ILIAS\GlobalScreen\Scope\Tool\Factory\AbstractBaseTool\withInitiallyHidden
withInitiallyHidden(bool $initially_hidden)
Definition:
AbstractBaseTool.php:28
src
GlobalScreen
Scope
Tool
Factory
AbstractBaseTool.php
Generated on Wed Apr 2 2025 20:01:27 for ILIAS by
1.8.13 (using
Doxyfile
)