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
03-dictionary.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2019 ILIAS open source, Extended GPL, see docs/LICENSE */
3
7
function
toDictionary
()
8
{
9
global
$DIC
;
10
11
$refinery = $DIC->refinery();
12
13
$transformation = $refinery->to()->dictOf(
new
\
ILIAS
\
Refinery
\To\Transformation\IntegerTransformation());
14
15
$result
= $transformation->transform(array(
'sum'
=> 5,
'user_id'
=> 1,
'size'
=> 4));
16
17
return
assert(array(
'sum'
=> 5,
'user_id'
=> 1,
'size'
=> 4) ===
$result
);
18
}
$result
$result
Definition:
CleanUpTest.php:463
ILIAS
Class ChatMainBarProvider .
toDictionary
toDictionary()
Definition:
03-dictionary.php:7
Factory
$DIC
$DIC
Definition:
xapitoken.php:46
src
Refinery
examples
To
03-dictionary.php
Generated on Sun Apr 13 2025 20:01:35 for ILIAS by
1.8.13 (using
Doxyfile
)