◆ __construct()
◆ add()
  
  
      
        
          | ilFooterGroupsGUI::add  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ addButtons()
  
  
      
        
          | ilFooterGroupsGUI::addButtons  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
Definition at line 73 of file class.ilFooterGroupsGUI.php.
References ILIAS\Repository\button(), ILIAS\Repository\ctrl(), ILIAS\UI\examples\MainControls\Slate\Notification\standard(), and ILIAS\UI\Implementation\Component\withHelpTopics().
Referenced by index().
   75         $modal = $this->ui_factory->modal()->roundtrip(
    76             $this->translator->translate(
'group_add'),
    78         )->withAsyncRenderUrl(
    79             $this->
ctrl->getLinkTarget($this, self::CMD_ADD)
    82         $confirm_reset = $this->ui_factory->prompt()->standard(
    83             $this->ui_handling->getHereAsURI(self::CMD_CONFIRM_RESET),
    86         $this->dic->toolbar()->addComponent(
    90                     $this->translator->translate(
'group_add'),
    93                 ->withOnClick($modal->getShowSignal())
    94                 ->
withHelpTopics(...$this->ui_factory->helpTopics(
'gsfo_button_add'))
    96         $this->dic->toolbar()->addComponent(
   100                     $this->translator->translate(
'reset_footer'),
   103                 ->withOnClick($confirm_reset->getShowSignal())
   104                 ->
withHelpTopics(...$this->ui_factory->helpTopics(
'gsfo_button_reset'))
   107         return [$modal, $confirm_reset];
 button(string $caption, string $cmd)
 
standard()
 description: > This is an example, of how the Notification Slate is generated by assigning Notificat...
 
withHelpTopics(Topic ... $topics)
 
 
 
 
◆ confirmDelete()
  
  
      
        
          | ilFooterGroupsGUI::confirmDelete  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
Definition at line 162 of file class.ilFooterGroupsGUI.php.
References $id, ILIAS\Repository\ctrl(), and ILIAS\UI\examples\Deck\repository().
  166         foreach ($this->ui_handling->getIdentificationsFromRequest(self::GSFO_ID) as 
$id) {
   168             if ($group === null) {
   171             if ($group->isCore()) {
   172                 $items[] = $this->ui_factory->modal()->interruptiveItem()->keyValue(
   175                     $this->translator->translate(
'info_not_deletable_core') .
   176                     $this->ui_handling->render($this->nok($this->ui_factory))
   180             if ($group->getItems() > 0) {
   181                 $items[] = $this->ui_factory->modal()->interruptiveItem()->keyValue(
   184                     $this->translator->translate(
'info_not_deletable_not_empty') .
   185                     $this->ui_handling->render($this->nok($this->ui_factory))
   189             $items[] = $this->ui_factory->modal()->interruptiveItem()->keyValue(
   192                 $this->ui_handling->render($this->ok($this->ui_factory))
   196         $this->ui_handling->outAsyncAsModal(
   197             $this->translator->translate(
'group_delete'),
   198             $this->
ctrl->getFormAction($this, 
'delete'),
 repository()
 description: > Example for rendering a repository card 
 
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins 
 
 
 
 
◆ confirmReset()
  
  
      
        
          | ilFooterGroupsGUI::confirmReset  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
Definition at line 110 of file class.ilFooterGroupsGUI.php.
References ILIAS\Repository\ctrl().
  112         $this->ui_handling->outAsync(
   113             $this->ui_factory->prompt()->state()->show(
   114                 $this->ui_factory->messageBox()->confirmation(
   115                     $this->translator->translate(
'confirm_reset')
   118                         $this->ui_factory->button()->standard(
   119                             $this->translator->translate(
'reset'),
   120                             $this->
ctrl->getLinkTarget($this, self::CMD_RESET)
 
 
 
 
◆ create()
      
        
          | ilFooterGroupsGUI::create  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ delete()
  
  
      
        
          | ilFooterGroupsGUI::delete  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
private   | 
  
 
Definition at line 203 of file class.ilFooterGroupsGUI.php.
References $id, ILIAS\Repository\ctrl(), and ILIAS\UI\examples\Deck\repository().
  205         foreach ($this->ui_handling->getIdentificationsFromRequest(self::GSFO_ID) as 
$id) {
   210         $this->ui_handling->sendMessageAndRedirect(
   212             $this->translator->translate(
'group_deleted'),
   213             $this->
ctrl->getLinkTarget($this, self::CMD_DEFAULT)
 repository()
 description: > Example for rendering a repository card 
 
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins 
 
 
 
 
◆ edit()
  
  
      
        
          | ilFooterGroupsGUI::edit  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
Definition at line 264 of file class.ilFooterGroupsGUI.php.
References $id, ILIAS\Repository\ctrl(), and ILIAS\UI\examples\Deck\repository().
  266         $id = $this->ui_handling->getIdentificationsFromRequest(self::GSFO_ID)[0];
   267         $this->ui_handling->saveIdentificationsToRequest(
   280         $target = $this->
ctrl->getFormAction($this, self::CMD_UPDATE);
   281         $this->ui_handling->outAsyncAsModal(
   282             $this->translator->translate(
'group_edit'),
 repository()
 description: > Example for rendering a repository card 
 
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins 
 
 
 
 
◆ editEntries()
  
  
      
        
          | ilFooterGroupsGUI::editEntries  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
Definition at line 343 of file class.ilFooterGroupsGUI.php.
References $id, and ILIAS\Repository\ctrl().
Referenced by executeCommand().
  345         $id = $this->ui_handling->getIdentificationsFromRequest(self::GSFO_ID)[0];
   346         $this->ui_handling->saveIdentificationsToRequest(
   347             ilFooterEntriesGUI::class,
   351         $this->
ctrl->redirectByClass(ilFooterEntriesGUI::class);
 
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins 
 
 
 
 
◆ executeCommand()
      
        
          | ilFooterGroupsGUI::executeCommand  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 357 of file class.ilFooterGroupsGUI.php.
References $id, ILIAS\Repository\ctrl(), editEntries(), index(), and ILIAS\UI\examples\Deck\repository().
  359         $this->ui_handling->requireReadable();
   361         $next_class = $this->
ctrl->getNextClass($this) ?? 
'';
   362         $cmd = $this->
ctrl->getCmd(self::CMD_DEFAULT);
   364         switch (strtolower($next_class)) {
   365             case strtolower(ilFooterTranslationGUI::class):
   367                     $this->ui_handling->getIdentificationsFromRequest(self::
GSFO_ID)[0]
   370                 if ($this->request->getQueryParams()[
'async'] ?? 
false) {
   371                     $back_target = $this->ui_handling->buildURI($this->
ctrl->getLinkTarget($this, self::CMD_DEFAULT));
   381                 $this->
ctrl->forwardCommand($translation);
   384             case strtolower(ilFooterEntriesGUI::class):
   385                 $id = $this->ui_handling->getIdentificationsFromRequest(self::
GSFO_ID)[0];
   386                 $this->ui_handling->saveIdentificationsToRequest(
   387                     ilFooterEntriesGUI::class,
   393                 $this->
ctrl->forwardCommand(
   405                     case self::CMD_DEFAULT:
   406                         $this->ui_handling->requireReadable();
   410                         $this->ui_handling->requireReadable();
   414                     case self::CMD_CREATE:
   416                     case self::CMD_UPDATE:
   418                         $this->ui_handling->backToMainTab();
   419                         $this->ui_handling->requireWritable();
 
repository()
 description: > Example for rendering a repository card 
 
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins 
 
 
 
 
◆ index()
  
  
      
        
          | ilFooterGroupsGUI::index  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ reset()
  
  
      
        
          | ilFooterGroupsGUI::reset  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ saveOrder()
  
  
      
        
          | ilFooterGroupsGUI::saveOrder  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
private   | 
  
 
Definition at line 217 of file class.ilFooterGroupsGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\UI\examples\Deck\repository().
  219         foreach ($this->request->getParsedBody() as $hashed_id => $position) {
   220             $this->
repository->updatePositionById($this->unhash($hashed_id), (
int) $position);
   222         $this->ui_handling->sendMessageAndRedirect(
   224             $this->translator->translate(
'order_saved'),
   225             $this->
ctrl->getLinkTarget($this, self::CMD_DEFAULT)
 repository()
 description: > Example for rendering a repository card 
 
 
 
 
◆ toggleActivation()
  
  
      
        
          | ilFooterGroupsGUI::toggleActivation  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
Definition at line 311 of file class.ilFooterGroupsGUI.php.
References $id, ILIAS\Repository\ctrl(), and ILIAS\UI\examples\Deck\repository().
  313         foreach ($this->ui_handling->getIdentificationsFromRequest(self::GSFO_ID) as 
$id) {
   315             $this->
repository->store($group->withActive(!$group->isActive()));
   318         $this->ui_handling->sendMessageAndRedirect(
   320             $this->translator->translate(
'group_activation_toggled'),
   321             $this->
ctrl->getLinkTarget($this, self::CMD_DEFAULT)
 repository()
 description: > Example for rendering a repository card 
 
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins 
 
 
 
 
◆ update()
      
        
          | ilFooterGroupsGUI::update  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 288 of file class.ilFooterGroupsGUI.php.
References $id, ILIAS\Repository\ctrl(), and ILIAS\UI\examples\Deck\repository().
  290         $id = $this->ui_handling->getIdentificationsFromRequest(self::GSFO_ID)[0];
   300             $this->ctrl->getFormAction($this, self::CMD_CREATE)
   302             $this->
ctrl->redirect($this, self::CMD_DEFAULT);
   304         $this->ui_handling->out(
   306                 $this->ctrl->getFormAction($this, self::CMD_CREATE)
 repository()
 description: > Example for rendering a repository card 
 
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins 
 
 
 
 
◆ $ctrl
◆ $repository
◆ $request
  
  
      
        
          | ServerRequestInterface ilFooterGroupsGUI::$request | 
         
       
   | 
  
private   | 
  
 
 
◆ $ui_factory
  
  
      
        
          | Factory ilFooterGroupsGUI::$ui_factory | 
         
       
   | 
  
private   | 
  
 
 
◆ CMD_ADD
      
        
          | const ilFooterGroupsGUI::CMD_ADD = 'add' | 
        
      
 
 
◆ CMD_CONFIRM_RESET
◆ CMD_CREATE
      
        
          | const ilFooterGroupsGUI::CMD_CREATE = 'create' | 
        
      
 
 
◆ CMD_DEFAULT
      
        
          | const ilFooterGroupsGUI::CMD_DEFAULT = 'index' | 
        
      
 
 
◆ CMD_EDIT
      
        
          | const ilFooterGroupsGUI::CMD_EDIT = 'edit' | 
        
      
 
 
◆ CMD_RESET
      
        
          | const ilFooterGroupsGUI::CMD_RESET = 'reset' | 
        
      
 
 
◆ CMD_SAVE_ORDER
      
        
          | const ilFooterGroupsGUI::CMD_SAVE_ORDER = 'saveOrder' | 
        
      
 
 
◆ CMD_UPDATE
      
        
          | const ilFooterGroupsGUI::CMD_UPDATE = 'update' | 
        
      
 
 
◆ GSFO_ID
      
        
          | const ilFooterGroupsGUI::GSFO_ID = 'gsfo_group_id' | 
        
      
 
 
The documentation for this class was generated from the following file: