ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilMailRfc822AddressParser Class Reference

Class ilMailRfc822AddressParser. More...

+ Inheritance diagram for ilMailRfc822AddressParser:
+ Collaboration diagram for ilMailRfc822AddressParser:

Public Member Functions

 __construct (\ilBaseMailRfc822AddressParser $a_addresses)
 
- Public Member Functions inherited from ilBaseMailRfc822AddressParser
 __construct (string $a_addresses, string $installationHost=\ilMail::ILIAS_HOST)
 
 getAddresses ()
 
 setAddresses (string $addresses)
 A comma separated list of email addresses. More...
 
 parse ()
 
Returns
ilMailAddress[]
More...
 

Protected Member Functions

 parseAddressString (string $a_addresses)
 
- Protected Member Functions inherited from ilBaseMailRfc822AddressParser
 parseAddressString (string $a_addresses)
 

Protected Attributes

 $aggregated_parser
 
- Protected Attributes inherited from ilBaseMailRfc822AddressParser
 $addresses = ''
 
 $installationHost = ''
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilMailRfc822AddressParser::__construct ( \ilBaseMailRfc822AddressParser  $a_addresses)
Parameters
\ilBaseMailRfc822AddressParser$a_addresses

Definition at line 18 of file class.ilMailRfc822AddressParser.php.

References ilBaseMailRfc822AddressParser\getAddresses().

19  {
20  parent::__construct($a_addresses->getAddresses());
21  $this->aggregated_parser = $a_addresses;
22  }
+ Here is the call graph for this function:

Member Function Documentation

◆ parseAddressString()

ilMailRfc822AddressParser::parseAddressString ( string  $a_addresses)
protected

Definition at line 27 of file class.ilMailRfc822AddressParser.php.

27  : array
28  {
29  return $this->aggregated_parser->parse();
30  }

Field Documentation

◆ $aggregated_parser

ilMailRfc822AddressParser::$aggregated_parser
protected

Definition at line 13 of file class.ilMailRfc822AddressParser.php.


The documentation for this class was generated from the following file: