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
class.ilMailPearRfc822WrapperAddressParser.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
class
ilMailPearRfc822WrapperAddressParser
extends
ilBaseMailRfc822AddressParser
9
{
13
public
function
parseAddressString
(
string
$addresses
) : array
14
{
15
if
(0 === strlen($addresses)) {
16
return
[];
17
}
18
19
$parser =
new
Mail_RFC822
();
20
$parsed_addresses = $parser->parseAddressList($addresses, $this->installationHost,
false
,
true
);
21
22
return
array_map(
function
($address) {
23
return
new
ilMailAddress
($address->mailbox, $address->host);
24
}, $parsed_addresses);
25
}
26
}
ilMailPearRfc822WrapperAddressParser
Class ilMailPearRfc822WrapperAddressParser.
Definition:
class.ilMailPearRfc822WrapperAddressParser.php:8
ilBaseMailRfc822AddressParser
Class ilBaseMailRfc822AddressParser.
Definition:
class.ilBaseMailRfc822AddressParser.php:8
Mail_RFC822
Definition:
RFC822.php:72
ilBaseMailRfc822AddressParser\$addresses
$addresses
Definition:
class.ilBaseMailRfc822AddressParser.php:11
ilMailPearRfc822WrapperAddressParser\parseAddressString
parseAddressString(string $addresses)
Definition:
class.ilMailPearRfc822WrapperAddressParser.php:13
ilMailAddress
Class ilMailAddress.
Definition:
class.ilMailAddress.php:8
Services
Mail
classes
Address
Parser
class.ilMailPearRfc822WrapperAddressParser.php
Generated on Sat Apr 5 2025 21:01:31 for ILIAS by
1.8.13 (using
Doxyfile
)