ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
class.ilAppointmentPresentationFactory.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
28 {
29  public static function getInstance(
30  array $a_appointment,
31  ?ilInfoScreenGUI $a_info_screen,
32  ?ilToolbarGUI $a_toolbar,
33  ?Item $a_list_item
34  ) {
35  $class_base = self::getClassBaseName($a_appointment);
36  $class_name = "ilAppointmentPresentation" . $class_base . "GUI";
38  return $class_name::getInstance($a_appointment, $a_info_screen, $a_toolbar, $a_list_item);
39  }
40 }
static getInstance(array $a_appointment, ?ilInfoScreenGUI $a_info_screen, ?ilToolbarGUI $a_toolbar, ?Item $a_list_item)
Common interface to all items.
Definition: Item.php:31