ILIAS  trunk Revision v11.0_alpha-1713-gd8962da2f67
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.CharacteristicUIFactory.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\Style\Content;
22 
24 use ilObjStyleSheet;
26 
31 {
34 
35  public function __construct(
36  InternalDomainService $domain_service,
37  InternalGUIService $gui_service
38  ) {
39  $this->domain_service = $domain_service;
40  $this->gui_service = $gui_service;
41  }
42 
43  // characteristics editing
44  public function ilStyleCharacteristicGUI(
45  ilObjStyleSheet $style_sheet_obj,
46  string $super_type,
47  StyleAccessManager $access_manager,
48  CharacteristicManager $characteristic_manager,
49  ImageManager $image_manager
51  return new ilStyleCharacteristicGUI(
52  $this->domain_service,
53  $this->gui_service,
54  $style_sheet_obj,
55  $super_type,
56  $access_manager,
57  $characteristic_manager,
58  $image_manager
59  );
60  }
61 
62  // characteristics table
63  public function CharacteristicTableGUI(
64  object $a_parent_obj,
65  string $a_parent_cmd,
66  string $a_super_type,
67  ilObjStyleSheet $a_style,
68  CharacteristicManager $manager,
69  Access\StyleAccessManager $access_manager
71  return new CharacteristicTableGUI(
72  $this->gui_service,
73  $a_parent_obj,
74  $a_parent_cmd,
75  $a_super_type,
76  $a_style,
77  $manager,
78  $access_manager
79  );
80  }
81 }
Content style internal ui factory.
__construct(InternalDomainService $domain_service, InternalGUIService $gui_service)
Main business logic for content style images.
CharacteristicTableGUI(object $a_parent_obj, string $a_parent_cmd, string $a_super_type, ilObjStyleSheet $a_style, CharacteristicManager $manager, Access\StyleAccessManager $access_manager)
Main business logic for characteristics.
Manages access to content style editing.
ilStyleCharacteristicGUI(ilObjStyleSheet $style_sheet_obj, string $super_type, StyleAccessManager $access_manager, CharacteristicManager $characteristic_manager, ImageManager $image_manager)