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.ilCertificateActivateAction.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2018 ILIAS open source, Extended GPL, see docs/LICENSE */
3
7
class
ilCertificateActiveAction
8
{
12
private
$database
;
13
17
public
function
__construct
(
ilDBInterface
$database
)
18
{
19
$this->database =
$database
;
20
}
21
26
public
function
isObjectActive
(
$objId
)
27
{
28
$sql =
'SELECT obj_id FROM il_certificate WHERE obj_id = '
. $this->database->quote(
$objId
,
'integer'
);
29
30
$query
= $this->database->query($sql);
31
32
while
($row = $this->database->fetchAssoc(
$query
)) {
33
return
true
;
34
}
35
36
return
false
;
37
}
38
}
$objId
$objId
Definition:
xapitoken.php:41
ilCertificateActiveAction\isObjectActive
isObjectActive($objId)
Definition:
class.ilCertificateActivateAction.php:26
ilCertificateActiveAction
Definition:
class.ilCertificateActivateAction.php:7
ilDBInterface
Interface ilDBInterface.
Definition:
interface.ilDBInterface.php:9
ilCertificateActiveAction\__construct
__construct(ilDBInterface $database)
Definition:
class.ilCertificateActivateAction.php:17
$query
$query
Definition:
proxy_ylocal.php:13
ilCertificateActiveAction\$database
$database
Definition:
class.ilCertificateActivateAction.php:12
Services
Certificate
classes
Template
Action
Active
class.ilCertificateActivateAction.php
Generated on Tue Apr 8 2025 20:01:15 for ILIAS by
1.8.13 (using
Doxyfile
)