ILIAS  trunk Revision v12.0_alpha-1613-gae4c99ebb18
ILIAS\BookingManager\Booking\BookingTableActionsFactory Class Reference
+ Inheritance diagram for ILIAS\BookingManager\Booking\BookingTableActionsFactory:
+ Collaboration diagram for ILIAS\BookingManager\Booking\BookingTableActionsFactory:

Public Member Functions

 __construct (protected readonly ilCtrlInterface $ctrl, protected readonly ilLanguage $lng, protected readonly ilGlobalTemplateInterface $tpl, protected readonly UIFactory $ui_factory, protected readonly UIRenderer $ui_renderer, protected readonly Refinery $refinery, protected readonly HttpService $http, protected readonly AccessManager $access, protected readonly ReservationDBRepository $reservation_repository, protected readonly ilObjBookingPool $booking_pool, protected readonly array $bookings,)
 
 getTableActions ()
 
 getTableActions ()
 

Data Fields

const string ACTION_CANCEL = 'cancel'
 
const string ACTION_DELETE = 'delete'
 
const string ACTION_MAIL = 'mail'
 

Protected Member Functions

 getCancelAction ()
 
 getDeleteAction ()
 
 getMailAction ()
 

Detailed Description

Definition at line 39 of file BookingTableActionsFactory.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\BookingManager\Booking\BookingTableActionsFactory::__construct ( protected readonly ilCtrlInterface  $ctrl,
protected readonly ilLanguage  $lng,
protected readonly ilGlobalTemplateInterface  $tpl,
protected readonly UIFactory  $ui_factory,
protected readonly UIRenderer  $ui_renderer,
protected readonly Refinery  $refinery,
protected readonly HttpService  $http,
protected readonly AccessManager  $access,
protected readonly ReservationDBRepository  $reservation_repository,
protected readonly ilObjBookingPool  $booking_pool,
protected readonly array  $bookings 
)

Definition at line 47 of file BookingTableActionsFactory.php.

59 {
60 }

Member Function Documentation

◆ getCancelAction()

ILIAS\BookingManager\Booking\BookingTableActionsFactory::getCancelAction ( )
protected

Definition at line 80 of file BookingTableActionsFactory.php.

80 : BookingsTableCancelAction
81 {
82 return new BookingsTableCancelAction(
83 $this->access,
84 $this->ui_factory,
85 $this->ui_renderer,
86 $this->lng,
87 $this->reservation_repository,
88 $this->http,
89 $this->tpl,
90 $this->ctrl,
91 $this->booking_pool,
92 $this->bookings
93 );
94 }
static http()
Fetches the global http state from ILIAS.

References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), and ILIAS\Repository\lng().

Referenced by ILIAS\BookingManager\Booking\BookingTableActionsFactory\getTableActions().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getDeleteAction()

ILIAS\BookingManager\Booking\BookingTableActionsFactory::getDeleteAction ( )
protected

Definition at line 96 of file BookingTableActionsFactory.php.

96 : BookingsTableDeleteAction
97 {
98 return new BookingsTableDeleteAction(
99 $this->access,
100 $this->ui_factory,
101 $this->ui_renderer,
102 $this->lng,
103 $this->reservation_repository,
104 $this->http,
105 $this->tpl,
106 $this->ctrl,
107 $this->booking_pool,
108 $this->bookings
109 );
110 }

References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), and ILIAS\Repository\lng().

Referenced by ILIAS\BookingManager\Booking\BookingTableActionsFactory\getTableActions().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getMailAction()

ILIAS\BookingManager\Booking\BookingTableActionsFactory::getMailAction ( )
protected

Definition at line 112 of file BookingTableActionsFactory.php.

112 : BookingsTableMailAction
113 {
114 return new BookingsTableMailAction(
115 $this->access,
116 $this->ui_factory,
117 $this->ui_renderer,
118 $this->lng,
119 $this->reservation_repository,
120 $this->http,
121 $this->tpl,
122 $this->ctrl,
123 $this->booking_pool,
124 $this->bookings
125 );
126 }

References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), and ILIAS\Repository\lng().

Referenced by ILIAS\BookingManager\Booking\BookingTableActionsFactory\getTableActions().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getTableActions()

ILIAS\BookingManager\Booking\BookingTableActionsFactory::getTableActions ( )

Field Documentation

◆ ACTION_CANCEL

const string ILIAS\BookingManager\Booking\BookingTableActionsFactory::ACTION_CANCEL = 'cancel'

Definition at line 41 of file BookingTableActionsFactory.php.

◆ ACTION_DELETE

const string ILIAS\BookingManager\Booking\BookingTableActionsFactory::ACTION_DELETE = 'delete'

Definition at line 43 of file BookingTableActionsFactory.php.

◆ ACTION_MAIL

const string ILIAS\BookingManager\Booking\BookingTableActionsFactory::ACTION_MAIL = 'mail'

Definition at line 45 of file BookingTableActionsFactory.php.


The documentation for this class was generated from the following file: