Definition at line 3 of file class.ilPDFCompInstaller.php.
◆ checkForMultipleServiceAndPurposeCombination()
static ilPDFCompInstaller::checkForMultipleServiceAndPurposeCombination |
( |
| ) |
|
|
static |
◆ doCleanUp()
static ilPDFCompInstaller::doCleanUp |
( |
| ) |
|
|
static |
Definition at line 180 of file class.ilPDFCompInstaller.php.
References $DIC, $ilDB, $query, $result, and $row.
Referenced by ilObjPDFGenerationGUI\doCleanUp().
183 $ilDB = $DIC[
'ilDB'];
184 $query =
'SELECT service, purpose FROM ' . self::PURPOSE_PURPOSES_TABLE .
' GROUP BY service, purpose having count(*) > 1';
187 self::unregisterPurpose(
$row[
'service'],
$row[
'purpose']);
188 self::addPurpose(
$row[
'service'],
$row[
'purpose']);
191 $query =
'SELECT service, purpose, preferred FROM ' . self::PURPOSE_MAP_TABLE .
' GROUP BY service, purpose, preferred having count(*) > 1';
195 self::unregisterPreferred(
$row[
'service'],
$row[
'purpose'],
$row[
'preferred']);
196 self::addPreferred(
$row[
'service'],
$row[
'purpose'],
$row[
'preferred']);
◆ flushPurposes()
static ilPDFCompInstaller::flushPurposes |
( |
|
$service | ) |
|
|
static |
◆ getPurposesByService()
static ilPDFCompInstaller::getPurposesByService |
( |
|
$service | ) |
|
|
static |
◆ getServices()
static ilPDFCompInstaller::getServices |
( |
| ) |
|
|
static |
◆ isPurposeRegistered()
static ilPDFCompInstaller::isPurposeRegistered |
( |
|
$service, |
|
|
|
$purpose |
|
) |
| |
|
static |
◆ registerPurpose()
static ilPDFCompInstaller::registerPurpose |
( |
|
$service, |
|
|
|
$purpose, |
|
|
|
$preferred |
|
) |
| |
|
static |
- Parameters
-
string | $service | |
string | $purpose | |
string | $preferred | |
- Returns
- void
Definition at line 18 of file class.ilPDFCompInstaller.php.
References $DIC, and $ilDB.
20 self::addPurpose($service, $purpose);
21 self::addPreferred($service, $purpose, $preferred);
◆ unregisterPreferred()
static ilPDFCompInstaller::unregisterPreferred |
( |
|
$service, |
|
|
|
$purpose, |
|
|
|
$preferred |
|
) |
| |
|
static |
- Parameters
-
$service | |
$purpose | |
$preferred | |
Definition at line 84 of file class.ilPDFCompInstaller.php.
References $DIC, and $ilDB.
89 $ilDB->manipulate(
"DELETE FROM " . self::PURPOSE_MAP_TABLE .
90 " WHERE service = " .
$ilDB->quote($service,
"txt") .
" AND purpose = " .
$ilDB->quote($purpose,
"txt") .
91 " AND preferred = " .
$ilDB->quote($preferred,
"txt"));
◆ unregisterPurpose()
static ilPDFCompInstaller::unregisterPurpose |
( |
|
$service, |
|
|
|
$purpose |
|
) |
| |
|
static |
- Parameters
-
Definition at line 70 of file class.ilPDFCompInstaller.php.
References $DIC, and $ilDB.
75 $ilDB->manipulate(
"DELETE FROM " . self::PURPOSE_PURPOSES_TABLE .
76 " WHERE service = " .
$ilDB->quote($service,
"txt") .
" AND purpose = " .
$ilDB->quote($purpose,
"txt"));
◆ updateFromXML()
static ilPDFCompInstaller::updateFromXML |
( |
|
$service, |
|
|
|
$purpose, |
|
|
|
$preferred |
|
) |
| |
|
static |
◆ PURPOSE_CONF_TABLE
const ilPDFCompInstaller::PURPOSE_CONF_TABLE = "pdfgen_conf" |
◆ PURPOSE_MAP_TABLE
const ilPDFCompInstaller::PURPOSE_MAP_TABLE = "pdfgen_map" |
◆ PURPOSE_PURPOSES_TABLE
const ilPDFCompInstaller::PURPOSE_PURPOSES_TABLE = "pdfgen_purposes" |
◆ RENDERER_AVAIL_TABLE
const ilPDFCompInstaller::RENDERER_AVAIL_TABLE = "pdfgen_renderer_avail" |
◆ RENDERER_TABLE
const ilPDFCompInstaller::RENDERER_TABLE = "pdfgen_renderer" |
The documentation for this class was generated from the following file: