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 |
◆ unregisterPreferred()
static ilPDFCompInstaller::unregisterPreferred |
( |
|
$service, |
|
|
|
$purpose, |
|
|
|
$preferred |
|
) |
| |
|
static |
◆ unregisterPurpose()
static ilPDFCompInstaller::unregisterPurpose |
( |
|
$service, |
|
|
|
$purpose |
|
) |
| |
|
static |
◆ 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: