ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
class.ilMailAutoCompleteRecipientProvider.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
abstract
class
ilMailAutoCompleteRecipientProvider
implements
Iterator
8
{
13
protected
$db
;
14
18
protected
$res
;
19
24
protected
$data
=
array
();
25
29
protected
$quoted_term
=
''
;
30
34
protected
$term
=
''
;
35
39
protected
$user_id
= 0;
40
45
public
function
__construct(
$quoted_term
,
$term
)
46
{
51
global
$ilDB
,
$ilUser
;
52
53
$this->db =
$ilDB
;
54
$this->quoted_term =
$quoted_term
;
55
$this->term =
$term
;
56
$this->user_id = $ilUser->getId();
57
}
58
63
public
function
valid
()
64
{
65
$this->
data
= $this->db->fetchAssoc($this->res);
66
67
return
is_array($this->
data
);
68
}
69
73
public
function
next
()
74
{
75
}
76
81
public
function
__destruct
()
82
{
83
if
($this->res)
84
{
85
$this->db->free($this->res);
86
$this->res = null;
87
}
88
}
89
}
ilMailAutoCompleteRecipientProvider\$res
$res
Definition:
class.ilMailAutoCompleteRecipientProvider.php:18
data
Add some data
Definition:
01pharSimple.php:56
ilMailAutoCompleteRecipientProvider\$term
$term
Definition:
class.ilMailAutoCompleteRecipientProvider.php:34
ilMailAutoCompleteRecipientProvider
Class ilMailAutoCompleteRecipientProvider.
Definition:
class.ilMailAutoCompleteRecipientProvider.php:7
ilMailAutoCompleteRecipientProvider\next
next()
"Next" implementation of iterator interface
Definition:
class.ilMailAutoCompleteRecipientProvider.php:73
ilMailAutoCompleteRecipientProvider\$user_id
$user_id
Definition:
class.ilMailAutoCompleteRecipientProvider.php:39
ilMailAutoCompleteRecipientProvider\$db
$db
Definition:
class.ilMailAutoCompleteRecipientProvider.php:13
$ilUser
$ilUser
Definition:
imgupload.php:18
array
Create styles array
The data for the language used.
Definition:
40duplicateStyle.php:19
Iterator
$ilDB
global $ilDB
Definition:
storeScorm2004.php:16
ilMailAutoCompleteRecipientProvider\$quoted_term
$quoted_term
Definition:
class.ilMailAutoCompleteRecipientProvider.php:29
php
ilMailAutoCompleteRecipientProvider\$data
$data
Definition:
class.ilMailAutoCompleteRecipientProvider.php:24
ilMailAutoCompleteRecipientProvider\__destruct
__destruct()
Destructor Free the result.
Definition:
class.ilMailAutoCompleteRecipientProvider.php:81
ilMailAutoCompleteRecipientProvider\valid
valid()
"Valid" implementation of iterator interface
Definition:
class.ilMailAutoCompleteRecipientProvider.php:63
Services
Mail
classes
class.ilMailAutoCompleteRecipientProvider.php
Generated on Fri Jan 17 2025 19:01:13 for ILIAS by
1.8.13 (using
Doxyfile
)