ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\BookingManager\Reservation\ReservationTableSessionRepository Class Reference

Reservation table related session data. More...

+ Collaboration diagram for ILIAS\BookingManager\Reservation\ReservationTableSessionRepository:

Public Member Functions

 __construct ()
 
 setObjectFilter (string $form_id, string $filter_value)
 
 setFromToFilter (string $form_id, string $filter_value)
 
 hasFromToFilter (string $form_id)
 

Data Fields

const KEY_BASE = "repo_clip"
 

Detailed Description

Reservation table related session data.

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 28 of file class.ReservationTableSessionRepository.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\BookingManager\Reservation\ReservationTableSessionRepository::__construct ( )

Definition at line 32 of file class.ReservationTableSessionRepository.php.

33 {
34 }

Member Function Documentation

◆ hasFromToFilter()

ILIAS\BookingManager\Reservation\ReservationTableSessionRepository::hasFromToFilter ( string  $form_id)

Definition at line 56 of file class.ReservationTableSessionRepository.php.

56 : bool
57 {
58 if (\ilSession::has("form_" . $form_id)) {
59 $form_array = \ilSession::get("form_" . $form_id);
60 return isset($form_array["fromto"]);
61 }
62 return false;
63 }
static get(string $a_var)
static has($a_var)

References ilSession\get(), and ilSession\has().

+ Here is the call graph for this function:

◆ setFromToFilter()

ILIAS\BookingManager\Reservation\ReservationTableSessionRepository::setFromToFilter ( string  $form_id,
string  $filter_value 
)

Definition at line 46 of file class.ReservationTableSessionRepository.php.

46 : void
47 {
48 $form_array = [];
49 if (\ilSession::has("form_" . $form_id)) {
50 $form_array = \ilSession::get("form_" . $form_id);
51 }
52 $form_array["fromto"] = $filter_value;
53 \ilSession::set("form_" . $form_id, $form_array);
54 }
static set(string $a_var, $a_val)
Set a value.

References ilSession\get(), ilSession\has(), and ilSession\set().

+ Here is the call graph for this function:

◆ setObjectFilter()

ILIAS\BookingManager\Reservation\ReservationTableSessionRepository::setObjectFilter ( string  $form_id,
string  $filter_value 
)

Definition at line 36 of file class.ReservationTableSessionRepository.php.

36 : void
37 {
38 $form_array = [];
39 if (\ilSession::has("form_" . $form_id)) {
40 $form_array = \ilSession::get("form_" . $form_id);
41 }
42 $form_array["object"] = $filter_value;
43 \ilSession::set("form_" . $form_id, $form_array);
44 }

References ilSession\get(), ilSession\has(), and ilSession\set().

+ Here is the call graph for this function:

Field Documentation

◆ KEY_BASE

const ILIAS\BookingManager\Reservation\ReservationTableSessionRepository::KEY_BASE = "repo_clip"

Definition at line 30 of file class.ReservationTableSessionRepository.php.


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