ILIAS  trunk Revision v11.0_alpha-2662-g519ff7d528f
Util.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\Blog\Presentation;
22 
23 class Util
24 {
25  public function __construct()
26  {
27 
28  }
29 
30  public function getMonthPresentation(string $month): string
31  {
32  return \ilCalendarUtil::_numericMonthToString((int) substr($month, 5)) .
33  " " . substr($month, 0, 4);
34  }
35 }
getMonthPresentation(string $month)
Definition: Util.php:30