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

Class ilMailDiffAddressList. More...

+ Inheritance diagram for ilMailDiffAddressList:
+ Collaboration diagram for ilMailDiffAddressList:

Public Member Functions

 __construct (\ilMailAddressList $left, \ilMailAddressList $right)
 ilMailDiffAddressList constructor. More...
 
 value ()
 
Returns
[]
More...
 

Protected Attributes

 $left
 
 $right
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilMailDiffAddressList::__construct ( \ilMailAddressList  $left,
\ilMailAddressList  $right 
)

ilMailDiffAddressList constructor.

Parameters
\ilMailAddressList$left
\ilMailAddressList$right

Definition at line 21 of file class.ilMailDiffAddressList.php.

References $left, $right, and left.

22  {
23  $this->left = $left;
24  $this->right = $right;
25  }
margin left
Definition: langcheck.php:164

Member Function Documentation

◆ value()

ilMailDiffAddressList::value ( )

Returns
[]

Implements ilMailAddressList.

Definition at line 31 of file class.ilMailDiffAddressList.php.

References left.

31  : array
32  {
33  $leftAddresses = $this->left->value();
34  $rightAddresses = $this->right->value();
35 
36  return array_diff($leftAddresses, $rightAddresses);
37  }
margin left
Definition: langcheck.php:164

Field Documentation

◆ $left

ilMailDiffAddressList::$left
protected

Definition at line 11 of file class.ilMailDiffAddressList.php.

Referenced by __construct().

◆ $right

ilMailDiffAddressList::$right
protected

Definition at line 14 of file class.ilMailDiffAddressList.php.

Referenced by __construct().


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