ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
e
f
g
h
i
j
l
m
n
p
r
s
t
u
w
+
Functions
_
a
b
c
e
f
g
h
i
m
n
p
r
s
t
u
w
Variables
+
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
j
k
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
Typedefs
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Modules
Pages
ClientId.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2018 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
namespace
ILIAS\Data
;
5
11
class
ClientId
12
{
16
private
$clientId
=
''
;
17
22
public
function
__construct
(
$clientId
)
23
{
24
if
(!is_string(
$clientId
)) {
25
throw
new \InvalidArgumentException(
'Invalid value for $clientId'
);
26
}
27
28
if
(preg_match(
'/[^A-Za-z0-9#_\.\-]/'
,
$clientId
)) {
29
throw
new \InvalidArgumentException(
'Invalid value for $clientId'
);
30
}
31
32
$this->clientId =
$clientId
;
33
}
34
38
public
function
toString
()
39
{
40
return
$this->clientId
;
41
}
42
46
public
function
__toString
()
47
{
48
return
$this->
toString
();
49
}
50
}
ILIAS\Data\ClientId\__toString
__toString()
Definition:
ClientId.php:46
ILIAS\Data\ClientId
Definition:
ClientId.php:11
ILIAS\Data\ClientId\toString
toString()
Definition:
ClientId.php:38
ILIAS\Data\ClientId\__construct
__construct($clientId)
ClientId constructor.
Definition:
ClientId.php:22
ILIAS\Data\ClientId\$clientId
$clientId
Definition:
ClientId.php:16
ILIAS\Data
Definition:
ClientId.php:4
src
Data
ClientId.php
Generated on Sat Apr 19 2025 19:01:50 for ILIAS by
1.8.13 (using
Doxyfile
)