◆ __construct()
      
        
          | ilWOPIAdministrationGUI::__construct  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ executeCommand()
      
        
          | ilWOPIAdministrationGUI::executeCommand  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 77 of file class.ilWOPIAdministrationGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), index(), ILIAS\Repository\lng(), show(), and store().
   79         if (!$this->
access->checkAccess(
"read", 
"", $this->ref_id)) {
    80             $this->maint_tpl->setOnScreenMessage(
'failure', $this->
lng->txt(
"permission_denied"), 
true);
    81             $this->
ctrl->redirectByClass(ilObjExternalToolsSettingsGUI::class);
    84         $cmd = $this->
ctrl->getCmd(self::CMD_DEFAULT);
    86             self::CMD_DEFAULT => $this->
index(),
    87             self::CMD_SHOW => $this->
show(),
    88             self::CMD_STORE => $this->
store(),
    89             default => 
throw new ilException(
"command not found: " . $cmd),
 
 
 
 
◆ getSupportedSuffixes()
  
  
      
        
          | ilWOPIAdministrationGUI::getSupportedSuffixes  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
◆ index()
  
  
      
        
          | ilWOPIAdministrationGUI::index  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
◆ show()
  
  
      
        
          | ilWOPIAdministrationGUI::show  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
◆ store()
  
  
      
        
          | ilWOPIAdministrationGUI::store  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
private   | 
  
 
Definition at line 144 of file class.ilWOPIAdministrationGUI.php.
References $DIC, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\settings().
Referenced by executeCommand().
  148         if ($form->proceed($this->http->request())) {
   151             $this->maint_tpl->setOnScreenMessage(
'success', $this->
lng->txt(
"msg_wopi_settings_modified"), 
true);
   154             $discovery_url = $this->
settings->get(
"wopi_discovery_url");
   155             if ($discovery_url === null) {
   156                 $this->app_repo->clear($this->action_repo);
   158                 $apps = $this->crawler->crawl(
new URI($discovery_url));
   159                 if ($apps !== null) {
   160                     $this->app_repo->storeCollection($apps, $this->action_repo);
   164             $this->
ctrl->redirect($this, self::CMD_DEFAULT);
   167         $this->maint_tpl->setContent($form->getHTML());
 
The scope of this class is split ilias-conform URI's into components. 
 
 
 
 
◆ $access
◆ $action_repo
◆ $app_repo
◆ $crawler
  
  
      
        
          | Crawler ilWOPIAdministrationGUI::$crawler | 
         
       
   | 
  
private   | 
  
 
 
◆ $ctrl
◆ $http
  
  
      
        
          | ILIAS HTTP Services ilWOPIAdministrationGUI::$http | 
         
       
   | 
  
private   | 
  
 
 
◆ $lng
◆ $maint_tpl
◆ $ref_id
  
  
      
        
          | int ilWOPIAdministrationGUI::$ref_id = null | 
         
       
   | 
  
private   | 
  
 
 
◆ $settings
◆ $ui_factory
  
  
      
        
          | ILIAS UI Factory ilWOPIAdministrationGUI::$ui_factory | 
         
       
   | 
  
private   | 
  
 
 
◆ $ui_renderer
  
  
      
        
          | ILIAS UI Renderer ilWOPIAdministrationGUI::$ui_renderer | 
         
       
   | 
  
private   | 
  
 
 
◆ CMD_DEFAULT
      
        
          | const ilWOPIAdministrationGUI::CMD_DEFAULT = "index" | 
        
      
 
 
◆ CMD_SHOW
      
        
          | const ilWOPIAdministrationGUI::CMD_SHOW = 'show' | 
        
      
 
 
◆ CMD_STORE
      
        
          | const ilWOPIAdministrationGUI::CMD_STORE = "store" | 
        
      
 
 
The documentation for this class was generated from the following file: