45         $this->tpl = $DIC[
"tpl"];
    46         $this->
tabs = $DIC->tabs();
    47         $this->
ctrl = $DIC->ctrl();
    48         $this->
lng = $DIC->language();
    49         $this->
access = $DIC->access();
    50         $this->
toolbar = $DIC->toolbar();
    51         $this->book_request = $DIC->bookingManager()
    57         $this->ref_id = $a_parent_obj->
getRefId();
    58         $this->pool_id = $a_parent_obj->
getObject()->getId();
    60         $this->
lng->loadLanguageModule(
"book");
    69         switch ($next_class) {
    70             case 'ilrepositorysearchgui':
    73                 $rep_search->addUserAccessFilterCallable(
function ($a_user_id) {
    74                     return $this->
access->filterUserIdsByRbacOrPositionOfCurrentUser(
    81                 $rep_search->setTitle($this->
lng->txt(
"exc_add_participant"));
    82                 $rep_search->setCallback($this, 
'addParticipantObject');
    83                 $this->
ctrl->setReturn($this, 
'render');
    84                 $this->
ctrl->forwardCommand($rep_search);
    88                 $cmd = $ilCtrl->getCmd(
"render");
   100         if ($this->
access->checkAccess(
'write', 
'', $this->ref_id)) {
   105                     'auto_complete_name' => $this->
lng->txt(
'user'),
   106                     'submit_name' => $this->
lng->txt(
'add'),
   107                     'add_search' => 
true,
   114             $this->tpl->setContent($table->getHTML());
   120         if (trim($this->book_request->getUserLogin()) === 
'') {
   121             $this->tpl->setOnScreenMessage(
'failure', $this->
lng->txt(
'msg_no_search_string'));
   126         $users = explode(
',', $this->book_request->getUserLogin());
   129         foreach ($users as $user) {
   133                 $this->tpl->setOnScreenMessage(
'failure', $this->
lng->txt(
'user_not_known'));
   136             $user_ids[] = $user_id;
   150         foreach ($a_user_ids as $user_id) {
   153                 if ($participant_obj->getIsNew()) {
   154                     $this->tpl->setOnScreenMessage(
'success', $this->
lng->txt(
"book_participant_assigned"), 
true);
   156                     $this->tpl->setOnScreenMessage(
'failure', $this->
lng->txt(
"book_participant_already_assigned"), 
true);
   159                 $this->tpl->setOnScreenMessage(
'failure', 
"dummy error message, change me");
   164         $this->
ctrl->redirect($this, 
"render");
   182         $table->resetOffset();
   183         if ($a_filter_action === self::FILTER_ACTION_RESET) {
   184             $table->resetFilter();
   186             $table->writeFilterToSession();
   194         $this->
tabs->clearTargets();
   195         $this->
tabs->setBackTarget($this->
lng->txt(
'book_back_to_list'), $this->
ctrl->getLinkTarget($this, 
'render'));
   199         $this->tpl->setContent($table->getHTML());
 
const FILTER_ACTION_RESET
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
addUserFromAutoCompleteObject()
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
ilGlobalTemplateInterface $tpl
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
__construct(ilObjBookingPoolGUI $a_parent_obj)
 
render()
Render list of booking participants. 
 
static _lookupId($a_user_str)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
ILIAS BookingManager StandardGUIRequest $book_request
 
const FILTER_ACTION_APPLY
 
addParticipantObject(array $a_user_ids)
Add new participant. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
getNextClass($a_gui_class=null)
 
applyParticipantsFilter()
 
applyFilterAction(int $a_filter_action)
 
static fillAutoCompleteToolbar(object $parent_object, ilToolbarGUI $toolbar=null, array $a_options=[], bool $a_sticky=false)
array( auto_complete_name = $lng->txt('user'), auto_complete_size = 15, user_type = array(ilCoursePar...
 
resetParticipantsFilter()
 
static _lookupType(int $id, bool $reference=false)