ILIAS  release_8 Revision v8.24
class.DomainService.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
21namespace ILIAS\Style\Content;
22
24
31{
33
34 public function __construct(
35 InternalService $internal_service
36 ) {
37 $this->internal = $internal_service;
38 }
39
40 public function styleForObjId(int $obj_id): ObjectFacade
41 {
42 return new ObjectFacade(
43 $this->internal->data(),
44 $this->internal->domain(),
45 0,
46 $obj_id
47 );
48 }
49
50 public function styleForRefId(int $ref_id): ObjectFacade
51 {
52 return new ObjectFacade(
53 $this->internal->data(),
54 $this->internal->domain(),
56 );
57 }
58}
Repository internal service.
Facade for consumer domain interface.
__construct(InternalService $internal_service)
External facade for object content styles.
$ref_id
Definition: ltiauth.php:67
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...