ILIAS  trunk Revision v11.0_alpha-1731-gff9cd7e2bd3
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
UtilitiesInterface.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
24 
26 {
27  public function shortenString(
28  string $string,
29  int $max_length
30  ): string;
31 
32  public function getUserDateFormat(): DateFormat;
33 
34  public function txt(string $key): string;
35 
36  public function txtFill(string $key, string ...$values): string;
37 
38  public function sanitizeForHTML(string $string): string;
39 }
txtFill(string $key, string ... $values)
A Date Format provides a format definition akin to PHP&#39;s date formatting options, but stores the sing...
Definition: DateFormat.php:26
shortenString(string $string, int $max_length)