ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
@ilCtrl_Calls ilBadgeManagementGUI: ilPropertyFormGUI More...
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... | |
getUnsafeGetCommands () | |
This method must return a list of unsafe GET commands. More... | |
getSafePostCommands () | |
This method must return a list of safe POST 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 () | |
@ilCtrl_Calls ilBadgeManagementGUI: ilPropertyFormGUI
Definition at line 33 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 57 of file class.ilBadgeManagementGUI.php.
References $DIC, $lng, 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().
|
protected |
Definition at line 794 of file class.ilBadgeManagementGUI.php.
|
protected |
Definition at line 331 of file class.ilBadgeManagementGUI.php.
References $ctrl, $handler, $tpl, ilBadgeHandler\getInstance(), hasWrite(), initBadgeForm(), and ILIAS\UICore\GlobalTemplate\setContent().
|
protected |
Definition at line 897 of file class.ilBadgeManagementGUI.php.
References $lng, $user_id, ilBadgeAssignment\exists(), and ilBadgeHandler\getInstance().
|
protected |
Definition at line 848 of file class.ilBadgeManagementGUI.php.
References ILIAS\Repository\ctrl(), ilBadgeHandler\getInstance(), ILIAS\FileDelivery\http(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\Repository\tabs().
|
protected |
Definition at line 722 of file class.ilBadgeManagementGUI.php.
|
protected |
Exception |
Definition at line 1009 of file class.ilBadgeManagementGUI.php.
References ilBadge\setImageRid(), and ilBadge\update().
|
protected |
Definition at line 929 of file class.ilBadgeManagementGUI.php.
References $lng, $user_id, ilBadgeAssignment\getAssignedUsers(), ilUserUtil\getNamePresentation(), and ILIAS\UICore\GlobalTemplate\setContent().
|
protected |
Definition at line 626 of file class.ilBadgeManagementGUI.php.
References $lng, ilBadgeAssignment\getInstancesByBadgeId(), ilBadge\getInstancesByParentId(), and ILIAS\UICore\GlobalTemplate\setContent().
|
protected |
Definition at line 707 of file class.ilBadgeManagementGUI.php.
|
protected |
Definition at line 799 of file class.ilBadgeManagementGUI.php.
|
protected |
Definition at line 978 of file class.ilBadgeManagementGUI.php.
|
protected |
Definition at line 666 of file class.ilBadgeManagementGUI.php.
References $lng.
|
protected |
Definition at line 512 of file class.ilBadgeManagementGUI.php.
References $lng, ilBadgeHandler\getInstance(), and ILIAS\UICore\GlobalTemplate\setContent().
ilBadgeManagementGUI::executeCommand | ( | ) |
Definition at line 146 of file class.ilBadgeManagementGUI.php.
References $ctrl, $DIC, $handler, $id, ilBadgeHandler\getInstance(), ilCtrl\getNextClass(), initBadgeForm(), and setBadgeFormValues().
|
protected |
Definition at line 694 of file class.ilBadgeManagementGUI.php.
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 224 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 229 of file class.ilBadgeManagementGUI.php.
|
protected |
Definition at line 733 of file class.ilBadgeManagementGUI.php.
References $res, and ilBadgeHandler\getInstance().
Referenced by listBadges().
|
protected |
Definition at line 255 of file class.ilBadgeManagementGUI.php.
References $access, and ilRBACAccessHandler\checkAccess().
Referenced by addBadge(), and listBadges().
|
protected |
Definition at line 357 of file class.ilBadgeManagementGUI.php.
Referenced by addBadge(), and executeCommand().
|
protected |
Definition at line 261 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().
|
protected |
Definition at line 809 of file class.ilBadgeManagementGUI.php.
References $lng, ILIAS\Repository\ctrl(), and ilBadgeHandler\getInstance().
|
protected |
Definition at line 749 of file class.ilBadgeManagementGUI.php.
References ILIAS\Repository\lng().
|
protected |
Definition at line 1018 of file class.ilBadgeManagementGUI.php.
References ilBadge\getImageRid().
|
protected |
ilCtrlException | |
IllegalStateException |
Definition at line 458 of file class.ilBadgeManagementGUI.php.
References $handler, $lng, and ilBadgeHandler\getInstance().
|
private |
Definition at line 838 of file class.ilBadgeManagementGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\FileDelivery\http().
|
protected |
Definition at line 542 of file class.ilBadgeManagementGUI.php.
References ilPropertyFormGUI\getItemByPostVar().
Referenced by executeCommand().
|
protected |
Definition at line 234 of file class.ilBadgeManagementGUI.php.
References $ctrl, $lng, $tabs, and ilLanguage\txt().
Referenced by listBadges().
|
private |
list<string> | $splittable_user_ids |
Definition at line 106 of file class.ilBadgeManagementGUI.php.
References $parent_obj_id, ilObject\_lookupObjId(), ilBadgeHandler\getInstance(), ILIAS\FileDelivery\http(), ILIAS\Repository\int(), and ILIAS\Repository\refinery().
|
protected |
Definition at line 766 of file class.ilBadgeManagementGUI.php.
References $lng, and ilBadge\getInstancesByParentId().
|
protected |
ilCtrlException | |
IllegalStateException |
Definition at line 571 of file class.ilBadgeManagementGUI.php.
References $lng.
|
private |
Definition at line 42 of file class.ilBadgeManagementGUI.php.
Referenced by hasWrite().
|
private |
Definition at line 50 of file class.ilBadgeManagementGUI.php.
|
private |
Definition at line 40 of file class.ilBadgeManagementGUI.php.
Referenced by addBadge(), executeCommand(), listBadges(), and setTabs().
|
private |
Definition at line 53 of file class.ilBadgeManagementGUI.php.
Definition at line 54 of file class.ilBadgeManagementGUI.php.
|
private |
Definition at line 39 of file class.ilBadgeManagementGUI.php.
Referenced by __construct(), listBadges(), and setTabs().
|
private |
Definition at line 47 of file class.ilBadgeManagementGUI.php.
Referenced by splitBadgeAndUserIdsFromString().
|
private |
Definition at line 48 of file class.ilBadgeManagementGUI.php.
|
private |
Definition at line 55 of file class.ilBadgeManagementGUI.php.
|
private |
Definition at line 37 of file class.ilBadgeManagementGUI.php.
|
private |
Definition at line 51 of file class.ilBadgeManagementGUI.php.
|
private |
Definition at line 38 of file class.ilBadgeManagementGUI.php.
|
private |
Definition at line 41 of file class.ilBadgeManagementGUI.php.
Referenced by setTabs().
|
private |
Definition at line 43 of file class.ilBadgeManagementGUI.php.
Referenced by listBadges().
|
private |
Definition at line 44 of file class.ilBadgeManagementGUI.php.
Referenced by addBadge().
Definition at line 46 of file class.ilBadgeManagementGUI.php.
|
private |
Definition at line 52 of file class.ilBadgeManagementGUI.php.
|
private |
Definition at line 45 of file class.ilBadgeManagementGUI.php.
const ilBadgeManagementGUI::TABLE_ALL_OBJECTS_ACTION = 'ALL_OBJECTS' |
Definition at line 35 of file class.ilBadgeManagementGUI.php.