55 $this->storage =
new ilSetting(self::STORAGE_IDENTIFIER);
76 self::$instance =
new self();
78 return self::$instance;
87 return in_array(
$a_type, self::COLLECTED_TYPES);
95 return self::COLLECTED_TYPES;
103 $this->target = $a_target;
119 $this->copyright_templates = $a_template_ids;
147 $settings = $DIC->settings();
151 $lom_entries[] =
'il_copyright_entry__' . $settings->get(
'inst_id', 0) .
'__' . $copyright_id;
162 $this->storage->set(
'target', $this->
getTarget());
163 $this->storage->set(
'templates', serialize($this->copyright_templates));
171 $this->
setTarget($this->storage->get(
'target', 0));
supportsHarvesting($a_type)
getHarvestingTypes()
Get obj types that support harvesing.
setCopyrightTemplates(array $a_template_ids)
getCopyRightTemplatesInLomFormat()
Get copyright entries in LOM format: "il_copyright_entry_INST_ID_ID" return string[].
const CRON_JOB_IDENTIFIER
Cron job for definition for oer harvesting.
__construct()
ilOerHarvesterSettings constructor.
isActiveCopyrightTemplate($a_id)