3 declare(strict_types=1);
    27         $this->
logger = $DIC->logger()->meta();
    28         $this->
lng = $DIC->language();
    29         $this->
lng->loadLanguageModule(
'meta');
    36         return $this->
lng->txt(
'meta_oer_harvester');
    41         return $this->
lng->txt(
'meta_oer_harvester_desc');
    46         return self::CRON_JOB_IDENTIFIER;
    61         return CronJobScheduleType::SCHEDULE_TYPE_DAILY;
    66         return self::DEFAULT_SCHEDULE_VALUE;
    78             $this->
lng->txt(
'meta_oer_target'),
    85         $explorer->setSelectMode(
'target', 
false);
    87         $explorer->setTypeWhiteList([
'cat']);
    90             $explorer->setPathOpen($this->
settings->getTarget());
    94         $target->setRequired(
true);
    99             $this->
lng->txt(
'meta_oer_copyright_selection'),
   103         $checkbox_group->setInfo(
   104             $this->
lng->txt(
'meta_oer_copyright_selection_info')
   109                 $copyright_entry->getTitle(),
   110                 (string) $copyright_entry->getEntryId(),
   111                 $copyright_entry->getDescription()
   113             $checkbox_group->addOption($copyright_checkox);
   115         $a_form->
addItem($checkbox_group);
   129         $this->
logger->info(
'Started cron oer harvester.');
   131         $res = $harvester->run();
   132         $this->
logger->info(
'cron oer harvester finished');
   139         switch ($a_form_id) {
   142                 $a_fields[
'meta_oer_harvester'] =
   145                         $this->
lng->txt(
'enabled') :
   146                         $this->
lng->txt(
'disabled')
 
ilOerHarvesterSettings $settings
 
const CRON_JOB_IDENTIFIER
 
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...
 
addCustomSettingsToForm(ilPropertyFormGUI $a_form)
 
Cron job for definition for oer harvesting. 
 
Cron job for definition for oer harvesting. 
 
addToExternalSettingsForm(int $a_form_id, array &$a_fields, bool $a_is_active)
 
saveCustomSettings(ilPropertyFormGUI $a_form)
 
Cron job for definition for oer harvesting. 
 
const DEFAULT_SCHEDULE_VALUE
 
getDefaultScheduleValue()