ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
Factory.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
25 
26 interface Factory
27 {
36  public function text(string $title): Text;
37 
46  public function number(string $title): Number;
47 
57  public function date(string $title, \ILIAS\Data\DateFormat\DateFormat $format): Date;
58 
68  public function status(string $title): Status;
69 
80  public function statusIcon(string $title): StatusIcon;
81 
99  public function boolean(string $title, string|Icon|Glyph $true, string|Icon|Glyph $false): Boolean;
100 
110  public function eMail(string $title): EMail;
111 
122  public function timeSpan(string $title, \ILIAS\Data\DateFormat\DateFormat $format): TimeSpan;
123 
133  public function link(string $title): Link;
134 
144  public function linkListing(string $title): LinkListing;
145 }
Interface Observer Contains several chained tasks and infos about them.
linkListing(string $title)
description: purpose: > The LinkListing Column features an Ordered or Unordered Listing of Standard ...
boolean(string $title, string|Icon|Glyph $true, string|Icon|Glyph $false)
description: purpose: > The Boolean Column is used to indicate a binary state, e.g.
text(string $title)
description: purpose: > The Text Column is used for (short) text.
date(string $title, \ILIAS\Data\DateFormat\DateFormat $format)
description: purpose: > The Date Column is used for single dates.
link(string $title)
description: purpose: > The Link Column features a Standard Link.
number(string $title)
description: purpose: > The Number Column is used for numeric values.
A Date Format provides a format definition akin to PHP&#39;s date formatting options, but stores the sing...
Definition: DateFormat.php:26
Status
This enum represents the status of a Progress Bar&#39;s underlying process/task, which can transition thr...
Definition: Status.php:30
eMail(string $title)
description: purpose: > Special formating for Mails in the EMail Column.
timeSpan(string $title, \ILIAS\Data\DateFormat\DateFormat $format)
description: purpose: > To express a timespan, a duration: use the TimeSpan Column to visualize a st...
status(string $title)
description: purpose: > The Status Column is used for very small texts expressing a status ...
statusIcon(string $title)
description: purpose: > Sometimes, a status or progress is better expressed by an Icon...