◆ __construct()
ilCertificateActiveAction::__construct |
( |
ilDBInterface |
$database | ) |
|
◆ isObjectActive()
ilCertificateActiveAction::isObjectActive |
( |
|
$objId | ) |
|
- Parameters
-
- Returns
- boolean
Definition at line 26 of file class.ilCertificateActivateAction.php.
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 }
References $query, and $row.
◆ $database
ilCertificateActiveAction::$database |
|
private |
The documentation for this class was generated from the following file: