ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilMailAutoCompleteProviderEmailFilter Class Reference
+ Inheritance diagram for ilMailAutoCompleteProviderEmailFilter:
+ Collaboration diagram for ilMailAutoCompleteProviderEmailFilter:

Public Member Functions

 accept ()
 (PHP 5 >= 5.1.0)
Check whether the current element of the iterator is acceptable http://php.net/manual/en/filteriterator.accept.php More...
 

Detailed Description

Member Function Documentation

◆ accept()

ilMailAutoCompleteProviderEmailFilter::accept ( )

(PHP 5 >= 5.1.0)
Check whether the current element of the iterator is acceptable http://php.net/manual/en/filteriterator.accept.php

Returns
bool true if the current element is acceptable, otherwise false.

Definition at line 12 of file class.ilMailAutoCompleteProviderEmailFilter.php.

References ilUtil\is_email().

13  {
14  $element = parent::current();
15 
16  return ilUtil::is_email($element['login']);
17  }
static is_email($a_email, ilMailRfc822AddressParserFactory $mailAddressParserFactory=null)
This preg-based function checks whether an e-mail address is formally valid.
+ Here is the call graph for this function:

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