ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
class.ilBaseMailRfc822AddressParser.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2016 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
require_once
'Services/Mail/interfaces/interface.ilMailRecipientParser.php'
;
5
10
abstract
class
ilBaseMailRfc822AddressParser
implements
ilMailRecipientParser
11
{
15
protected
$addresses
=
''
;
16
20
public
function
__construct
($a_addresses)
21
{
22
$this->addresses = $a_addresses;
23
}
24
28
public
function
getAddresses
()
29
{
30
return
$this->addresses
;
31
}
32
36
public
function
setAddresses
(
$addresses
)
37
{
38
$this->addresses =
$addresses
;
39
}
40
45
abstract
protected
function
parseAddressString
($a_addresses);
46
50
public
function
parse
()
51
{
52
$addresses
= preg_replace(
'/;/'
,
','
, trim($this->addresses));
53
return
$this->
parseAddressString
(
$addresses
);
54
}
55
}
ilBaseMailRfc822AddressParser\getAddresses
getAddresses()
Definition:
class.ilBaseMailRfc822AddressParser.php:28
ilBaseMailRfc822AddressParser\parse
parse()
{ilMailAddress[]}
Definition:
class.ilBaseMailRfc822AddressParser.php:50
ilMailRecipientParser
Interface ilMailRecipientParser.
Definition:
interface.ilMailRecipientParser.php:8
ilBaseMailRfc822AddressParser\__construct
__construct($a_addresses)
Definition:
class.ilBaseMailRfc822AddressParser.php:20
ilBaseMailRfc822AddressParser
Class ilBaseMailRfc822AddressParser.
Definition:
class.ilBaseMailRfc822AddressParser.php:10
ilBaseMailRfc822AddressParser\$addresses
$addresses
Definition:
class.ilBaseMailRfc822AddressParser.php:15
ilBaseMailRfc822AddressParser\setAddresses
setAddresses($addresses)
Definition:
class.ilBaseMailRfc822AddressParser.php:36
ilBaseMailRfc822AddressParser\parseAddressString
parseAddressString($a_addresses)
Services
Mail
classes
Address
Parser
class.ilBaseMailRfc822AddressParser.php
Generated on Sat Jan 18 2025 19:01:33 for ILIAS by
1.8.13 (using
Doxyfile
)