19 declare(strict_types=1);
    45         $this->lom_services = $dic->learningObjectMetadata();
    53         return $this->context_collection
    62         $ref_id = $current_context->getReferenceId()->toInt();
    66             && $this->dic->access()->checkAccess(
'visible', 
'', 
$ref_id)
    81         $additional_locale_count = 0;
    82         $additional_locales = [];
    85             if ($language_code !== $object_translation->getDefaultLanguage()) {
    86                 $additional_locales[] = $language_code;
    87                 $additional_locale_count++;
    95         $this->
globalScreen()->layout()->meta()->addOpenGraphMetaDatum(
    96             $this->data->openGraphMetadata()->website(
   102                 $object_translation->getDefaultLanguage(),
   103                 (1 < $additional_locale_count) ? array_slice($additional_locales, 1) : []
   110         $uri = $this->data->uri(ILIAS_HTTP_PATH);
   112         $this->
globalScreen()->layout()->meta()->addOpenGraphMetaDatum(
   113             $this->data->openGraphMetadata()->website(
   116                 $this->dic->language()->txt(
'permission_denied'),
   131             $current_object = null;
   133             return $current_object;
   139         $image_path_resolver = new \ilImagePathResolver();
   141         return $this->data->openGraphMetadata()->image(
   143                 ILIAS_HTTP_PATH . ltrim(
   144                     $image_path_resolver->resolveImagePath(
   159         $languages_path = $this->lom_services->paths()->languages();
   160         $reader = $this->lom_services->read($object_id, 0, $object_type, $languages_path);
   161         foreach ($reader->allData($languages_path) as $lang_data) {
   162             yield $lang_data->value();
   169             $this->dic->globalScreen()->tool()->context()->availableContexts()
   173         if (!$screen_context_stack->
hasMatch($collection)) {
   174             $screen_context_stack = $screen_context_stack->
repository();
   176         return $screen_context_stack;
   181         $image_factory = $this->dic->ui()->factory()->image();
   183         if (!$this->fetch_tile_image) {
   189             if ($tile_image !== null && $tile_image->getRid() !== null) {
   190                 $uri_string = $tile_image->getImage($image_factory)->getAdditionalHighResSources()[
'960']
   191                     ?? $tile_image->getImage($image_factory)->getSource();
   193                 $image = $this->data->openGraphMetadata()->image(
   194                     $this->data->uri($uri_string),
 
LOMServices $lom_services
 
getPresentationImage(\ilObject $object)
 
exposeDefaultOpenGraphMetaData()
 
Interface Observer  Contains several chained tasks and infos about them. 
 
getLanguageCodesFromLOM(int $object_id, string $object_type)
 
Class ContentModification. 
 
Customizing of pimple-DIC for ILIAS. 
 
Class AbstractModificationProvider. 
 
__construct(\ILIAS\DI\Container $dic)
 
static _getStaticLink(?int $a_ref_id, string $a_type='', bool $a_fallback_goto=true, string $append="")
 
static getInstanceByRefId(int $ref_id, bool $stop_on_error=true)
get an instance of an Ilias object by reference id 
 
static getInstance(int $obj_id)
 
ensureRepoContext(CalledContexts $screen_context_stack)
 
getObjectOfContext(ScreenContext $context)
 
hasMatch(ContextCollection $other_collection)
 
__construct(Container $dic, ilPlugin $plugin)
 
getLongDescription()
get object long description (stored in object_description) 
 
exposeObjectOpenGraphMetaData(\ilObject $object)
 
getContentModification(CalledContexts $screen_context_stack)
 
getPresentationTitle()
get presentation title Normally same as title Overwritten for sessions