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
class.ilBaseMailRfc822AddressParser.php
Go to the documentation of this file.
1
<?php declare(strict_types=1);
2
/* Copyright (c) 1998-2016 ILIAS open source, Extended GPL, see docs/LICENSE */
3
8
abstract
class
ilBaseMailRfc822AddressParser
implements
ilMailRecipientParser
9
{
11
protected
$addresses
=
''
;
12
14
protected
$installationHost
=
''
;
15
20
public
function
__construct
(
string
$addresses
,
string
$installationHost
=
ilMail::ILIAS_HOST
)
21
{
22
$this->addresses =
$addresses
;
23
$this->installationHost =
$installationHost
;
24
}
25
29
public
function
getAddresses
() : string
30
{
31
return
$this->addresses
;
32
}
33
38
public
function
setAddresses
(
string
$addresses
)
39
{
40
$this->addresses =
$addresses
;
41
}
42
47
abstract
protected
function
parseAddressString
(
string
$addresses
) : array;
48
52
public
function
parse
() : array
53
{
54
$addresses = preg_replace(
'/;/'
,
','
, trim($this->addresses));
55
56
return
$this->
parseAddressString
($addresses);
57
}
58
}
ilBaseMailRfc822AddressParser\getAddresses
getAddresses()
Definition:
class.ilBaseMailRfc822AddressParser.php:29
ilMail\ILIAS_HOST
const ILIAS_HOST
Definition:
class.ilMail.php:12
ilBaseMailRfc822AddressParser\parse
parse()
ilMailAddress[]
Definition:
class.ilBaseMailRfc822AddressParser.php:52
ilMailRecipientParser
Interface ilMailRecipientParser.
Definition:
interface.ilMailRecipientParser.php:8
ilBaseMailRfc822AddressParser\parseAddressString
parseAddressString(string $addresses)
ilBaseMailRfc822AddressParser
Class ilBaseMailRfc822AddressParser.
Definition:
class.ilBaseMailRfc822AddressParser.php:8
ilBaseMailRfc822AddressParser\__construct
__construct(string $addresses, string $installationHost=ilMail::ILIAS_HOST)
Definition:
class.ilBaseMailRfc822AddressParser.php:20
ilBaseMailRfc822AddressParser\setAddresses
setAddresses(string $addresses)
A comma separated list of email addresses.
Definition:
class.ilBaseMailRfc822AddressParser.php:38
ilBaseMailRfc822AddressParser\$addresses
$addresses
Definition:
class.ilBaseMailRfc822AddressParser.php:11
ilBaseMailRfc822AddressParser\$installationHost
$installationHost
Definition:
class.ilBaseMailRfc822AddressParser.php:14
Services
Mail
classes
Address
Parser
class.ilBaseMailRfc822AddressParser.php
Generated on Thu Apr 3 2025 20:01:08 for ILIAS by
1.8.13 (using
Doxyfile
)