ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
class.ilMailAutoCompleteSearch.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2014 ILIAS open source, Extended GPL, see docs/LICENSE */
3
7
class
ilMailAutoCompleteSearch
8
{
12
protected
$result
;
13
17
protected
$providers
=
array
();
18
22
public
function
__construct
(
ilMailAutoCompleteRecipientResult
$result
)
23
{
24
$this->result =
$result
;
25
}
26
30
public
function
addProvider
(
Iterator
$provider
)
31
{
32
$this->providers[] =
$provider
;
33
}
34
38
public
function
search
()
39
{
40
foreach
($this->providers as
$provider
) {
41
foreach
($provider as
$row
) {
42
if
(!$this->result->isResultAddable()) {
43
$this->result->result[
'hasMoreResults'
] =
true
;
44
break
2;
45
}
46
$this->result->addResult($row[
'login'
], $row[
'firstname'
], $row[
'lastname'
]);
47
}
48
}
49
}
50
}
ilMailAutoCompleteSearch\__construct
__construct(ilMailAutoCompleteRecipientResult $result)
Definition:
class.ilMailAutoCompleteSearch.php:22
ilMailAutoCompleteSearch\$providers
$providers
Definition:
class.ilMailAutoCompleteSearch.php:17
ilMailAutoCompleteRecipientResult
Class ilMailAutoCompleteRecipientResult.
Definition:
class.ilMailAutoCompleteRecipientResult.php:9
ilMailAutoCompleteSearch\$result
$result
Definition:
class.ilMailAutoCompleteSearch.php:12
ilMailAutoCompleteSearch\search
search()
Definition:
class.ilMailAutoCompleteSearch.php:38
ilMailAutoCompleteSearch
Class ilMailAutoCompleteSearch.
Definition:
class.ilMailAutoCompleteSearch.php:7
array
Create styles array
The data for the language used.
Definition:
40duplicateStyle.php:19
League\OAuth2\Client\Provider\$provider
$provider
Definition:
get_oauth_token.php:131
Iterator
ilMailAutoCompleteSearch\addProvider
addProvider(Iterator $provider)
Definition:
class.ilMailAutoCompleteSearch.php:30
$row
$row
Definition:
10autofilter-selection-1.php:74
Services
Mail
classes
class.ilMailAutoCompleteSearch.php
Generated on Sat Jan 18 2025 19:01:33 for ILIAS by
1.8.13 (using
Doxyfile
)