ILIAS  trunk Revision v11.0_alpha-1723-g8e69f309bab
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
BasicHandler.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
24 use ILIAS\Export\ExportHandler\I\Consumer\ExportOption\HandlerInterface as ilExportHandlerConsumerExportOptionInterface;
25 
26 abstract class BasicHandler implements ilExportHandlerConsumerExportOptionInterface
27 {
28  final public function __construct()
29  {
30  global $DIC;
31  $this->init($DIC);
32  }
33 
34  public function isObjectSupported(
35  ObjectId $object_id
36  ): bool {
37  return true;
38  }
39 
40  public function isPublicAccessPossible(): bool
41  {
42  return false;
43  }
44 }
init(array|\ArrayAccess &$define, array|\ArrayAccess &$implement, array|\ArrayAccess &$use, array|\ArrayAccess &$contribute, array|\ArrayAccess &$seek, array|\ArrayAccess &$provide, array|\ArrayAccess &$pull, array|\ArrayAccess &$internal,)
Definition: Export.php:31
global $DIC
Definition: shib_login.php:22