33        $this->db = 
$DIC->database();
 
   50        $ilDB->manipulate(
"INSERT INTO help_module " .
 
   67            "UPDATE help_module SET " .
 
   68            " lm_id = " . 
$ilDB->quote($a_lm_id, 
"integer") .
 
   69            " WHERE id = " . 
$ilDB->quote($a_id, 
"integer")
 
   77        $id = self::createHelpModule();
 
   81            $conf = $imp->getConfig(
"Services/Help");
 
   82            $conf->setModuleId(
$id);
 
   83            $new_id = $imp->importObject(
null, $a_file[
"tmp_name"], $a_file[
"name"], 
"lm", 
"Modules/LearningModule"); 
 
   86            self::writeHelpModuleLmId(
$id, $newObj->getId());
 
   88            throw new ilLMOldExportFileException(
"This file seems to be from ILIAS version 5.0.x or lower. Import is not supported anymore.");
 
   92        $GLOBALS[
'ilAppEventHandler']->raise(
 
  106        $set = 
$ilDB->query(
"SELECT * FROM help_module");
 
  109        while ($rec = 
$ilDB->fetchAssoc($set)) {
 
  129            "SELECT * FROM help_module " .
 
  130            " WHERE id = " . 
$ilDB->quote($a_id, 
"integer")
 
  132        $rec = 
$ilDB->fetchAssoc($set);
 
  147            "SELECT lm_id FROM help_module " .
 
  148            " WHERE id = " . 
$ilDB->quote($a_id, 
"integer")
 
  150        $rec = 
$ilDB->fetchAssoc($set);
 
  151        return (
int) $rec[
"lm_id"];
 
  161        if ($a_id === (
int) 
$ilSetting->get(
"help_module")) {
 
  166            "SELECT * FROM help_module " .
 
  167            " WHERE id = " . 
$ilDB->quote($a_id, 
"integer")
 
  169        $rec = 
$ilDB->fetchAssoc($set);
 
  184        $ilDB->manipulate(
"DELETE FROM help_module WHERE " .
 
  185            " id = " . 
$ilDB->quote($a_id, 
"integer"));
 
  199            "SELECT id FROM help_module " .
 
  200            " WHERE lm_id = " . 
$ilDB->quote($a_lm_id, 
"integer")
 
  202        if ($rec = 
$ilDB->fetchAssoc($set)) {
 
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
 
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
 
static deleteEntriesOfModule(int $a_id)
 
static deleteTooltipsOfModule(int $a_id)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
uploadHelpModule(array $a_file)
 
static createHelpModule()
 
static lookupModuleTitle(int $a_id)
 
static writeHelpModuleLmId(int $a_id, int $a_lm_id)
 
static lookupModuleLmId(int $a_id)
 
static isHelpLM(int $a_lm_id)
Check if LM is a help LM.
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
static _lookupType(int $id, bool $reference=false)
 
static _lookupCreationDate(int $obj_id)
 
static _lookupTitle(int $obj_id)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc