ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
ilBookingObjectServiceGUI Class Reference

Service (e.g. More...

+ Inheritance diagram for ilBookingObjectServiceGUI:
+ Collaboration diagram for ilBookingObjectServiceGUI:

Public Member Functions

 __construct (int $host_obj_ref_id, int $current_pool_ref_id, \ilObjUseBookDBRepository $use_book_repo, string $seed, string $sseed, ilBookingHelpAdapter $help)
 ilBookingObjectServiceGUI constructor. More...
 
- Public Member Functions inherited from ilBookingObjectGUI
 activateManagement ($a_val)
 Activate management. More...
 
 isManagementActivated ()
 Is management activated? More...
 
 executeCommand ()
 
 render ()
 Render list of booking objects. More...
 
 applyFilter ()
 
 resetFilter ()
 
 create (ilPropertyFormGUI $a_form=null)
 Render creation form. More...
 
 edit (ilPropertyFormGUI $a_form=null)
 Render edit form. More...
 
 initForm ($a_mode="create", $id=null)
 Build property form. More...
 
 save ()
 Create new object dataset. More...
 
 update ()
 Update object dataset. More...
 
 confirmDelete ()
 Confirm delete. More...
 
 delete ()
 Delete object. More...
 
 deliverInfo ()
 

Protected Attributes

 $host_obj_ref_id
 
 $use_book_repo
 
- Protected Attributes inherited from ilBookingObjectGUI
 $ctrl
 
 $tpl
 
 $lng
 
 $access
 
 $tabs
 
 $help
 
 $obj_data_cache
 
 $user
 
 $pool_has_schedule
 
 $pool_overall_limit
 
 $pool_uses_preferences = false
 
 $management = true
 
 $context_obj_id
 
 $object_id
 

Additional Inherited Members

- Protected Member Functions inherited from ilBookingObjectGUI
 getPoolRefId ()
 Get ref id of booking pool. More...
 
 getPoolObjId ()
 Get obj id of booking pool. More...
 
 hasPoolSchedule ()
 Has booking pool a schedule? More...
 
 getPoolOverallLimit ()
 Get booking pool overall limit. More...
 
 showNoScheduleMessage ()
 Show no schedule message. More...
 
 returnToPreferences ()
 Return to preferences. More...
 
 setHelpId ($a_id)
 

Detailed Description

Service (e.g.

being used in a course) UI wrapper for booking objects

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

ilBookingObjectServiceGUI: ilPropertyFormGUI, ilBookingProcessGUI

Definition at line 13 of file class.ilBookingObjectServiceGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ilBookingObjectServiceGUI::__construct ( int  $host_obj_ref_id,
int  $current_pool_ref_id,
\ilObjUseBookDBRepository  $use_book_repo,
string  $seed,
string  $sseed,
ilBookingHelpAdapter  $help 
)

ilBookingObjectServiceGUI constructor.

Parameters
int$host_obj_ref_idHost object ref id (e.g. course)

Definition at line 34 of file class.ilBookingObjectServiceGUI.php.

References $use_book_repo, ILIAS\GlobalScreen\Provider\__construct(), ilObject\_lookupObjId(), and ilBookingObjectGUI\activateManagement().

41  {
42  $this->pool_gui = new ilObjBookingPoolGUI("", $current_pool_ref_id, true, false);
44  $this->pool_gui,
45  $seed,
46  $sseed,
47  $help,
49  );
50  $this->host_obj_ref_id = (int) $host_obj_ref_id;
51  $this->use_book_repo = $use_book_repo;
52 
53  $this->activateManagement(false);
54  }
Class ilObjBookingPoolGUI.
activateManagement($a_val)
Activate management.
static _lookupObjId($a_id)
__construct(Container $dic, ilPlugin $plugin)
+ Here is the call graph for this function:

Field Documentation

◆ $host_obj_ref_id

ilBookingObjectServiceGUI::$host_obj_ref_id
protected

Definition at line 18 of file class.ilBookingObjectServiceGUI.php.

◆ $use_book_repo

ilBookingObjectServiceGUI::$use_book_repo
protected

Definition at line 23 of file class.ilBookingObjectServiceGUI.php.

Referenced by __construct().


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