ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
Factory.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
26 interface Factory
27 {
47  public function standard(
48  string $name,
49  string $label,
50  string $size = 'small',
51  bool $is_disabled = false
52  ): Standard;
53 
82  public function custom(
83  string $icon_path,
84  string $label,
85  string $size = 'small',
86  bool $is_disabled = false
87  ): Custom;
88 }
custom(string $icon_path, string $label, string $size='small', bool $is_disabled=false)
description: purpose: > ILIAS allows users to upload icons for repository objects.
This is how a factory for icons looks like.
Definition: Factory.php:26
standard(string $name, string $label, string $size='small', bool $is_disabled=false)
description: purpose: > Standard Icons represent ILIAS Objects, Services or ideas.
This describes the specific behavior of an ILIAS standard icon.
Definition: Standard.php:26