ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
s
t
w
+
Functions
_
a
b
c
f
g
h
i
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
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
{
47
global
$DIC
;
48
49
$this->db = $DIC->database();
50
$this->quoted_term =
$quoted_term
;
51
$this->term =
$term
;
52
$this->user_id = $DIC->user()->getId();
53
}
54
59
public
function
valid
()
60
{
61
$this->data = $this->db->fetchAssoc($this->res);
62
63
return
is_array($this->data);
64
}
65
69
public
function
next
()
70
{
71
}
72
77
public
function
__destruct
()
78
{
79
if
($this->res) {
80
$this->db->free($this->res);
81
$this->res = null;
82
}
83
}
84
}
ilMailAutoCompleteRecipientProvider\$res
$res
Definition:
class.ilMailAutoCompleteRecipientProvider.php:18
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:69
ilMailAutoCompleteRecipientProvider\$user_id
$user_id
Definition:
class.ilMailAutoCompleteRecipientProvider.php:39
ilMailAutoCompleteRecipientProvider\$db
$db
Definition:
class.ilMailAutoCompleteRecipientProvider.php:13
ilMailAutoCompleteRecipientProvider\__construct
__construct($quoted_term, $term)
Definition:
class.ilMailAutoCompleteRecipientProvider.php:45
Iterator
ilMailAutoCompleteRecipientProvider\$quoted_term
$quoted_term
Definition:
class.ilMailAutoCompleteRecipientProvider.php:29
$DIC
$DIC
Definition:
xapitoken.php:46
ilMailAutoCompleteRecipientProvider\$data
$data
Definition:
class.ilMailAutoCompleteRecipientProvider.php:24
ilMailAutoCompleteRecipientProvider\__destruct
__destruct()
Destructor Free the result.
Definition:
class.ilMailAutoCompleteRecipientProvider.php:77
ilMailAutoCompleteRecipientProvider\valid
valid()
"Valid" implementation of iterator interface
Definition:
class.ilMailAutoCompleteRecipientProvider.php:59
Services
Mail
classes
class.ilMailAutoCompleteRecipientProvider.php
Generated on Fri Apr 18 2025 20:01:26 for ILIAS by
1.8.13 (using
Doxyfile
)