19 declare(strict_types=1);
45 public function format($value): string
47 $this->checkArgListElements(
'value', $value, [\DateTimeImmutable::class]);
49 $value[0]->format($this->
getFormat()->toString())
51 $value[1]->format($this->
getFormat()->toString());
60 $this->asc_label ?? $this->
getTitle() . self::SEPERATOR . $this->
lng->txt(
'order_option_chronological_ascending'),
61 $this->desc_label ?? $this->
getTitle() . self::SEPERATOR . $this->
lng->txt(
'order_option_chronological_descending')
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(\ilLanguage $lng, string $title, DateFormat $format)
__construct(Container $dic, ilPlugin $plugin)