| 
|   | __construct () | 
|   | 
|   | getId () | 
|   | 
|   | getTitle () | 
|   | 
|   | getDescription () | 
|   | 
|   | hasAutoActivation () | 
|   | 
|   | hasFlexibleSchedule () | 
|   | 
|   | getDefaultScheduleType () | 
|   | 
|   | getDefaultScheduleValue () | 
|   | 
|   | run () | 
|   | 
|   | setDateTimeProvider (?Closure $date_time_provider) | 
|   | 
|   | isDue (?DateTimeImmutable $last_run, ?CronJobScheduleType $schedule_type, ?int $schedule_value, bool $is_manually_executed=false) | 
|   | 
|   | getScheduleType () | 
|   | Get current schedule type (if flexible)  More...
  | 
|   | 
|   | getScheduleValue () | 
|   | Get current schedule value (if flexible)  More...
  | 
|   | 
|   | setSchedule (?CronJobScheduleType $a_type, ?int $a_value) | 
|   | Update current schedule (if flexible)  More...
  | 
|   | 
|   | getAllScheduleTypes () | 
|   | Get all available schedule types.  More...
  | 
|   | 
|   | getScheduleTypesWithValues () | 
|   | 
|   | getValidScheduleTypes () | 
|   | Returns a collection of all valid schedule types for a specific job.  More...
  | 
|   | 
|   | isManuallyExecutable () | 
|   | 
|   | hasCustomSettings () | 
|   | 
|   | addCustomSettingsToForm (ilPropertyFormGUI $a_form) | 
|   | 
|   | saveCustomSettings (ilPropertyFormGUI $a_form) | 
|   | 
|   | addToExternalSettingsForm (int $a_form_id, array &$a_fields, bool $a_is_active) | 
|   | 
|   | activationWasToggled (ilDBInterface $db, ilSetting $setting, bool $a_currently_active) | 
|   | Important: This method is (also) called from the setup process, where the constructor of an ilCronJob ist NOT executed.  More...
  | 
|   | 
|   | getId () | 
|   | 
|   | getTitle () | 
|   | 
|   | getDescription () | 
|   | 
|   | hasAutoActivation () | 
|   | Is to be activated on "installation", does only work for ILIAS core cron jobs.  More...
  | 
|   | 
|   | hasFlexibleSchedule () | 
|   | 
|   | getDefaultScheduleType () | 
|   | 
|   | getDefaultScheduleValue () | 
|   | 
|   | run () | 
|   | 
◆ __construct()
      
        
          | ilWOPICrawler::__construct  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ getDefaultScheduleType()
      
        
          | ilWOPICrawler::getDefaultScheduleType  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 77 of file class.ilWOPICrawler.php.
   79         return CronJobScheduleType::SCHEDULE_TYPE_WEEKLY;
 This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
 
 
 
◆ getDefaultScheduleValue()
      
        
          | ilWOPICrawler::getDefaultScheduleValue  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ getDescription()
      
        
          | ilWOPICrawler::getDescription  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ getId()
◆ getTitle()
      
        
          | ilWOPICrawler::getTitle  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ hasAutoActivation()
      
        
          | ilWOPICrawler::hasAutoActivation  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ hasFlexibleSchedule()
      
        
          | ilWOPICrawler::hasFlexibleSchedule  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ run()
Definition at line 87 of file class.ilWOPICrawler.php.
References ILIAS\UI\examples\Symbol\Glyph\Language\language(), ILIAS\Repository\settings(), and ilCronJobResult\STATUS_FAIL.
   90         if (!(
bool) $this->
settings->get(
'wopi_activated', 
'0')) {
    91             $result->setMessage($this->
language->txt(
'wopi_crawler_cronjob_not_activated'));
    94         $discovery_url = $this->
settings->get(
'wopi_discovery_url');
    96         if (!$this->crawler->validate(
new URI($discovery_url))) {
    98             $result->setMessage($this->
language->txt(
'msg_error_wopi_invalid_discorvery_url'));
   102         $apps = $this->crawler->crawl(
new URI($discovery_url));
   103         if ($apps === null) {
   105             $result->setMessage($this->
language->txt(
'wopi_crawler_cronjob_no_apps'));
   108         $result->setMessage($this->
language->txt(
'wopi_crawler_cronjob_success'));
   109         $this->app_repository->storeCollection($apps, $this->action_repository);
 
The scope of this class is split ilias-conform URI's into components. 
 
language()
 description: > Example for rendring a language glyph. 
 
 
 
 
◆ $action_repository
◆ $app_repository
◆ $crawler
◆ $language
◆ $settings
The documentation for this class was generated from the following file: