| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
ilBadgeManagementGUI: ilPropertyFormGUI More...
 Inheritance diagram for ilBadgeManagementGUI:
 Collaboration diagram for ilBadgeManagementGUI:Public Member Functions | |
| __construct (private readonly int $parent_ref_id, int $a_parent_obj_id=null, string $a_parent_obj_type=null) | |
| executeCommand () | |
| getSafePostCommands () | |
| This method must return a list of safe POST commands.  More... | |
| getUnsafeGetCommands () | |
| This method must return a list of unsafe GET commands.  More... | |
Data Fields | |
| const | TABLE_ALL_OBJECTS_ACTION = 'ALL_OBJECTS' | 
Protected Member Functions | |
| setTabs (string $a_active) | |
| hasWrite () | |
| listBadges () | |
| addBadge (ilPropertyFormGUI $a_form=null) | |
| initBadgeForm (string $a_mode, ilBadgeType $a_type, string $a_type_unique_id) | |
| saveBadge () | |
| editBadge (ilPropertyFormGUI $a_form=null) | |
| setBadgeFormValues (ilPropertyFormGUI $a_form, ilBadge $a_badge, ilBadgeType $a_type) | |
| updateBadge () | |
| confirmDeleteBadges () | |
| deleteBadges () | |
| getBadgesFromMultiAction () | |
| copyBadges () | |
| clearClipboard () | |
| getValidBadgesFromClipboard () | |
| pasteBadges () | |
| toggleBadges (bool $a_status) | |
| activateBadges () | |
| deactivateBadges () | |
| listUsers () | |
| awardBadgeUserSelection () | |
| assignBadge () | |
| confirmDeassignBadge () | |
| deassignBadge () | |
| cloneBadgeTemplate (ilBadge $badge, ?ResourceIdentification $rid) | |
| removeResourceStorageImage (ilBadge $badge) | |
Private Member Functions | |
| splitBadgeAndUserIdsFromString (array $splittable_user_ids) | |
| selectBadgeForAwardingOrRevoking () | |
ilBadgeManagementGUI: ilPropertyFormGUI
Definition at line 32 of file class.ilBadgeManagementGUI.php.
| ilBadgeManagementGUI::__construct | ( | private readonly int | $parent_ref_id, | 
| int | $a_parent_obj_id = null,  | 
        ||
| string | $a_parent_obj_type = null  | 
        ||
| ) | 
Definition at line 56 of file class.ilBadgeManagementGUI.php.
References $DIC, ilObject\_lookupObjId(), ilObject\_lookupType(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilBadgeHandler\getInstance(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ilLanguage\loadLanguageModule(), ILIAS\Repository\refinery(), ILIAS\Repository\tabs(), ILIAS\Repository\toolbar(), and ILIAS\Repository\user().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 793 of file class.ilBadgeManagementGUI.php.
References toggleBadges().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 330 of file class.ilBadgeManagementGUI.php.
References $ctrl, $handler, $tpl, ilBadgeHandler\getInstance(), hasWrite(), initBadgeForm(), and ilGlobalTemplateInterface\setContent().
Referenced by saveBadge().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 896 of file class.ilBadgeManagementGUI.php.
References $ctrl, $lng, $user, $user_id, ilBadgeAssignment\exists(), ilBadgeHandler\getInstance(), hasWrite(), splitBadgeAndUserIdsFromString(), and ilLanguage\txt().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 847 of file class.ilBadgeManagementGUI.php.
References ILIAS\Repository\ctrl(), ilBadgeHandler\getInstance(), hasWrite(), ILIAS\FileDelivery\http(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\Repository\tabs().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 721 of file class.ilBadgeManagementGUI.php.
References $ctrl, and ilCtrl\redirect().
 Here is the call graph for this function:
      
  | 
  protected | 
| Exception | 
Definition at line 1008 of file class.ilBadgeManagementGUI.php.
References ilBadge\setImageRid(), and ilBadge\update().
Referenced by saveBadge(), and updateBadge().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 928 of file class.ilBadgeManagementGUI.php.
References $ctrl, $lng, $tabs, $tpl, $user_id, ilBadgeAssignment\getAssignedUsers(), ilUserUtil\getNamePresentation(), hasWrite(), ilGlobalTemplateInterface\setContent(), splitBadgeAndUserIdsFromString(), and ilLanguage\txt().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 625 of file class.ilBadgeManagementGUI.php.
References $ctrl, $lng, $tabs, $tpl, ilTabsGUI\clearTargets(), ilBadgeAssignment\getInstancesByBadgeId(), ilBadge\getInstancesByParentId(), ilGlobalTemplateInterface\setContent(), and ilLanguage\txt().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 706 of file class.ilBadgeManagementGUI.php.
References $ctrl, and getBadgesFromMultiAction().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 798 of file class.ilBadgeManagementGUI.php.
References toggleBadges().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 977 of file class.ilBadgeManagementGUI.php.
References $ctrl, $lng, $user_id, hasWrite(), and ilLanguage\txt().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 665 of file class.ilBadgeManagementGUI.php.
References $ctrl, $lng, and ilLanguage\txt().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 511 of file class.ilBadgeManagementGUI.php.
References $ctrl, $lng, $tpl, ilBadgeHandler\getInstance(), hasWrite(), initBadgeForm(), setBadgeFormValues(), ilGlobalTemplateInterface\setContent(), and ilLanguage\txt().
Referenced by updateBadge().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilBadgeManagementGUI::executeCommand | ( | ) | 
Definition at line 145 of file class.ilBadgeManagementGUI.php.
References $ctrl, $DIC, $handler, $id, ilBadgeHandler\getInstance(), ilCtrl\getNextClass(), ilBadge\getTypeId(), initBadgeForm(), and setBadgeFormValues().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 693 of file class.ilBadgeManagementGUI.php.
References $ctrl, hasWrite(), and ilCtrl\redirect().
Referenced by copyBadges().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilBadgeManagementGUI::getSafePostCommands | ( | ) | 
This method must return a list of safe POST commands.
Safe post commands returned by this method will no longer be CSRF protected and will NOT be appended by an ilCtrlToken.
Implements ilCtrlSecurityInterface.
Definition at line 223 of file class.ilBadgeManagementGUI.php.
| ilBadgeManagementGUI::getUnsafeGetCommands | ( | ) | 
This method must return a list of unsafe GET commands.
Unsafe get commands returned by this method will now be CSRF protected, which means an ilCtrlToken is appended each time a link-target is generated to the class implementing this interface with a command from that list.
Tokens will be validated in
Implements ilCtrlSecurityInterface.
Definition at line 228 of file class.ilBadgeManagementGUI.php.
      
  | 
  protected | 
Definition at line 732 of file class.ilBadgeManagementGUI.php.
References $res, and ilBadgeHandler\getInstance().
Referenced by listBadges(), and pasteBadges().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 254 of file class.ilBadgeManagementGUI.php.
References $access, and ilRBACAccessHandler\checkAccess().
Referenced by addBadge(), assignBadge(), awardBadgeUserSelection(), confirmDeassignBadge(), deassignBadge(), editBadge(), getBadgesFromMultiAction(), listBadges(), listUsers(), pasteBadges(), saveBadge(), and updateBadge().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 356 of file class.ilBadgeManagementGUI.php.
References $ctrl, $lng, $valid, ilBadgeType\getCaption(), ilBadgeType\getConfigGUIInstance(), ilBadgeImageTemplate\getInstancesByType(), ilTextAreaInputGUI\setMaxNumOfChars(), ilFormPropertyGUI\setRequired(), ilFileInputGUI\setSuffixes(), and ilLanguage\txt().
Referenced by addBadge(), editBadge(), executeCommand(), saveBadge(), and updateBadge().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 260 of file class.ilBadgeManagementGUI.php.
References $ctrl, $handler, $id, $lng, $toolbar, ILIAS\Repository\ctrl(), ilBadge\getExtendedTypeCaption(), ilBadgeHandler\getInstance(), getValidBadgesFromClipboard(), hasWrite(), ilLanguage\loadLanguageModule(), setTabs(), and ilLanguage\txt().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 808 of file class.ilBadgeManagementGUI.php.
References $ctrl, $lng, $toolbar, $tpl, ILIAS\Repository\ctrl(), ilBadgeHandler\getInstance(), hasWrite(), ilSelectInputGUI\setOptions(), setTabs(), and ilLanguage\txt().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 748 of file class.ilBadgeManagementGUI.php.
References $ctrl, getValidBadgesFromClipboard(), hasWrite(), ILIAS\Repository\lng(), and ilCtrl\redirect().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 1017 of file class.ilBadgeManagementGUI.php.
References ilBadge\getImageRid().
Referenced by updateBadge().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
| ilCtrlException | |
| IllegalStateException | 
Definition at line 457 of file class.ilBadgeManagementGUI.php.
References $ctrl, $handler, $lng, addBadge(), cloneBadgeTemplate(), ilBadgeHandler\getInstance(), hasWrite(), initBadgeForm(), and ilLanguage\txt().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 837 of file class.ilBadgeManagementGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 541 of file class.ilBadgeManagementGUI.php.
References ilBadgeType\getConfigGUIInstance(), ilBadge\getConfiguration(), ilBadge\getCriteria(), ilBadge\getDescription(), ilBadge\getImage(), ilBadge\getImagePath(), ilPropertyFormGUI\getItemByPostVar(), ilBadge\getTitle(), ilBadge\getValid(), and ilBadge\isActive().
Referenced by editBadge(), and executeCommand().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 233 of file class.ilBadgeManagementGUI.php.
References $ctrl, $lng, $tabs, and ilLanguage\txt().
Referenced by listBadges(), and listUsers().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
| list<string> | $splittable_user_ids | 
Definition at line 105 of file class.ilBadgeManagementGUI.php.
References $parent_obj_id, ilObject\_lookupObjId(), ilBadgeHandler\getInstance(), ILIAS\FileDelivery\http(), ILIAS\Repository\int(), and ILIAS\Repository\refinery().
Referenced by assignBadge(), and confirmDeassignBadge().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 765 of file class.ilBadgeManagementGUI.php.
References $ctrl, $lng, ilBadge\getInstancesByParentId(), and ilLanguage\txt().
Referenced by activateBadges(), and deactivateBadges().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
| ilCtrlException | |
| IllegalStateException | 
Definition at line 570 of file class.ilBadgeManagementGUI.php.
References $ctrl, $lng, cloneBadgeTemplate(), editBadge(), hasWrite(), initBadgeForm(), removeResourceStorageImage(), and ilLanguage\txt().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 41 of file class.ilBadgeManagementGUI.php.
Referenced by hasWrite().
      
  | 
  private | 
Definition at line 49 of file class.ilBadgeManagementGUI.php.
      
  | 
  private | 
Definition at line 39 of file class.ilBadgeManagementGUI.php.
Referenced by addBadge(), assignBadge(), clearClipboard(), confirmDeassignBadge(), confirmDeleteBadges(), copyBadges(), deassignBadge(), deleteBadges(), editBadge(), executeCommand(), getBadgesFromMultiAction(), initBadgeForm(), listBadges(), listUsers(), pasteBadges(), saveBadge(), setTabs(), toggleBadges(), and updateBadge().
      
  | 
  private | 
Definition at line 52 of file class.ilBadgeManagementGUI.php.
Definition at line 53 of file class.ilBadgeManagementGUI.php.
      
  | 
  private | 
Definition at line 38 of file class.ilBadgeManagementGUI.php.
Referenced by assignBadge(), confirmDeassignBadge(), confirmDeleteBadges(), deassignBadge(), deleteBadges(), editBadge(), initBadgeForm(), listBadges(), listUsers(), saveBadge(), setTabs(), toggleBadges(), and updateBadge().
      
  | 
  private | 
Definition at line 46 of file class.ilBadgeManagementGUI.php.
Referenced by splitBadgeAndUserIdsFromString().
      
  | 
  private | 
Definition at line 47 of file class.ilBadgeManagementGUI.php.
      
  | 
  private | 
Definition at line 54 of file class.ilBadgeManagementGUI.php.
      
  | 
  private | 
Definition at line 36 of file class.ilBadgeManagementGUI.php.
      
  | 
  private | 
Definition at line 50 of file class.ilBadgeManagementGUI.php.
      
  | 
  private | 
Definition at line 37 of file class.ilBadgeManagementGUI.php.
      
  | 
  private | 
Definition at line 40 of file class.ilBadgeManagementGUI.php.
Referenced by confirmDeassignBadge(), confirmDeleteBadges(), and setTabs().
      
  | 
  private | 
Definition at line 42 of file class.ilBadgeManagementGUI.php.
Referenced by listBadges(), and listUsers().
      
  | 
  private | 
Definition at line 43 of file class.ilBadgeManagementGUI.php.
Referenced by addBadge(), confirmDeassignBadge(), confirmDeleteBadges(), editBadge(), and listUsers().
Definition at line 45 of file class.ilBadgeManagementGUI.php.
      
  | 
  private | 
Definition at line 51 of file class.ilBadgeManagementGUI.php.
      
  | 
  private | 
Definition at line 44 of file class.ilBadgeManagementGUI.php.
Referenced by assignBadge().
| const ilBadgeManagementGUI::TABLE_ALL_OBJECTS_ACTION = 'ALL_OBJECTS' | 
Definition at line 34 of file class.ilBadgeManagementGUI.php.