4 include_once
'./Services/Mail/classes/class.ilMailAutoCompleteRecipientResult.php';
5 include_once
'./Services/Mail/classes/class.ilMailAutoCompleteUserProvider.php';
6 include_once
'./Services/Mail/classes/class.ilMailAutoCompleteSearch.php';
8 include_once
'./Services/Mail/classes/class.ilMailAutoCompleteSentMailsRecipientsProvider.php';
9 include_once
'./Services/Mail/classes/class.ilMailAutoCompleteAddressbookLoginProvider.php';
10 include_once
'./Services/Mail/classes/class.ilMailAutoCompleteAddressbookEmailProvider.php';
11 include_once
'./Services/Mail/classes/class.ilMailAutoCompleteProviderEmailFilter.php';
22 $result =
new ilMailAutocompleteRecipientResult(
23 isset(
$_GET[
'fetchall']) && (
int)
$_GET[
'fetchall'] ?
24 ilMailAutocompleteRecipientResult::MODE_FETCH_ALL :
25 ilMailAutocompleteRecipientResult::MODE_STOP_ON_MAX_ENTRIES
30 $result_fetcher->search();
40 $result =
new ilMailAutocompleteRecipientResult(
41 isset(
$_GET[
'fetchall']) && (
int)
$_GET[
'fetchall'] ?
42 ilMailAutocompleteRecipientResult::MODE_FETCH_ALL :
43 ilMailAutocompleteRecipientResult::MODE_STOP_ON_MAX_ENTRIES
47 $result_fetcher->addProvider($address_book_login);
48 $result_fetcher->addProvider($address_book_email);
49 $result_fetcher->search();
56 $result =
new ilMailAutocompleteRecipientResult(
57 isset(
$_GET[
'fetchall']) && (
int)
$_GET[
'fetchall'] ?
58 ilMailAutocompleteRecipientResult::MODE_FETCH_ALL :
59 ilMailAutocompleteRecipientResult::MODE_STOP_ON_MAX_ENTRIES
64 $result_fetcher->search();