/**
  * Constructor of ilRoomSharingFloorPlansGUI.
  *
  * @param object $a_parent_obj used for getting necessary IDs
  */
 public function __construct(ilObjRoomSharingGUI $a_parent_obj)
 {
     global $ilCtrl, $lng, $tpl, $ilTabs, $rssPermission;
     $this->ref_id = $a_parent_obj->ref_id;
     $this->pool_id = $a_parent_obj->getPoolId();
     $this->permission = $rssPermission;
     $this->ctrl = $ilCtrl;
     $this->lng = $lng;
     $this->tpl = $tpl;
     $this->tabs = $ilTabs;
 }
 /**
  * Constructur for ilRoomSharingBookGUI
  *
  * @param ilObjRoomSharingGUI $a_parent_obj
  * @param integer             $a_booking_id
  * @param integer             $a_room_id
  * @param string              $a_mode
  */
 public function __construct($a_parent_obj, $a_booking_id, $a_room_id, $a_mode = NULL)
 {
     global $ilCtrl, $lng, $tpl, $rssPermission;
     $this->permission = $rssPermission;
     $this->ctrl = $ilCtrl;
     $this->lng = $lng;
     $this->tpl = $tpl;
     $this->parent_obj = $a_parent_obj;
     $this->pool_id = $a_parent_obj->getPoolId();
     $this->setOrGetSessionVariables($a_booking_id, $a_room_id, $a_mode);
     $this->book = new ilRoomSharingBook($this->pool_id);
 }
 /**
  * Constructur for ilRoomSharingBookGUI
  *
  * @param ilObjRoomSharingGUI $a_parent_obj
  * @param string              $a_room_id
  * @param string              $a_date_from
  * @param string              $a_date_to
  */
 public function __construct(ilObjRoomSharingGUI $a_parent_obj, $a_room_id = NULL, $a_date_from = "", $a_date_to = "")
 {
     global $ilCtrl, $lng, $tpl, $rssPermission;
     $this->permission = $rssPermission;
     $this->ctrl = $ilCtrl;
     $this->lng = $lng;
     $this->tpl = $tpl;
     $this->parent_obj = $a_parent_obj;
     $this->pool_id = $a_parent_obj->getPoolId();
     $this->room_id = $a_room_id;
     $this->date_from = $a_date_from;
     $this->date_to = $a_date_to;
     $this->book = new ilRoomSharingBook($this->pool_id);
 }