|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
BlockGUI class for Selected Items on Personal Desktop. More...
Inheritance diagram for ilPDSelectedItemsBlockGUI:
Collaboration diagram for ilPDSelectedItemsBlockGUI:Public Member Functions | |
| __construct () | |
| ilPDSelectedItemsBlockGUI constructor. More... | |
| getViewSettings () | |
| addToDeskObject () | |
| Add desktop item @access public. More... | |
| removeFromDeskObject () | |
| Remove from desktop @access public. More... | |
| getBlockType () | |
| |
| getHTML () | |
| Get HTML. More... | |
| executeCommand () | |
| fillDataSection () | |
| Standard implementation for row based data.Overwrite this and call setContent for other data. More... | |
| fillFooter () | |
| changePDItemPresentation () | |
| Called if the user interacted with the provided sorting options. More... | |
| changePDItemSorting () | |
| Called if the user interacted with the provided presentation options. More... | |
| manageObject () | |
| confirmRemoveObject () | |
| confirmedRemove () | |
| confirmedUnsubscribe () | |
| getNoItemFoundContent () | |
| No item entry. More... | |
Public Member Functions inherited from ilBlockGUI | |
| getBlockType () | |
| __construct () | |
| Constructor. More... | |
| setData ($a_data) | |
| Set Data. More... | |
| getData () | |
| Get Data. More... | |
| setPresentation (int $type) | |
| Set presentation. More... | |
| getPresentation () | |
| Get presentation type. More... | |
| setBlockId ($a_block_id=0) | |
| Set Block Id. More... | |
| getBlockId () | |
| Get Block Id. More... | |
| setGuiObject (&$a_gui_object) | |
| Set GuiObject. More... | |
| getGuiObject () | |
| Get GuiObject. More... | |
| setTitle ($a_title) | |
| Set Title. More... | |
| getTitle () | |
| Get Title. More... | |
| setOffset ($a_offset) | |
| Set Offset. More... | |
| getOffset () | |
| Get Offset. More... | |
| correctOffset () | |
| setLimit ($a_limit) | |
| Set Limit. More... | |
| getLimit () | |
| Get Limit. More... | |
| setEnableEdit ($a_enableedit) | |
| Set EnableEdit. More... | |
| getEnableEdit () | |
| Get EnableEdit. More... | |
| setRepositoryMode ($a_repositorymode) | |
| Set RepositoryMode. More... | |
| getRepositoryMode () | |
| Get RepositoryMode. More... | |
| setSubtitle ($a_subtitle) | |
| Set Subtitle. More... | |
| getSubtitle () | |
| Get Subtitle. More... | |
| setRefId ($a_refid) | |
| Set Ref Id (only used if isRepositoryObject() is true). More... | |
| getRefId () | |
| Get Ref Id (only used if isRepositoryObject() is true). More... | |
| setAdminCommands (bool $a_admincommands) | |
| Set Administration Commmands. More... | |
| getAdminCommands () | |
| Get Administration Commmands. More... | |
| setEnableNumInfo ($a_enablenuminfo) | |
| Set Enable Item Number Info. More... | |
| getEnableNumInfo () | |
| Get Enable Item Number Info. More... | |
| setProperties ($a_properties) | |
| This function is supposed to be used for block type specific properties, that should be inherited through ilColumnGUI->setBlockProperties. More... | |
| getProperty ($a_property) | |
| setProperty ($a_property, $a_value) | |
| setRowTemplate ($a_rowtemplatename, $a_rowtemplatedir="") | |
| Set Row Template Name. More... | |
| getNavParameter () | |
| getConfigParameter () | |
| getMoveParameter () | |
| getRowTemplateName () | |
| Get Row Template Name. More... | |
| getRowTemplateDir () | |
| Get Row Template Directory. More... | |
| addBlockCommand (string $a_href, string $a_text, string $a_onclick="") | |
| Add Block Command. More... | |
| getBlockCommands () | |
| Get Block commands. More... | |
| getHTML () | |
| Get HTML. More... | |
| fillHeaderCommands () | |
| Fill header commands block. More... | |
| fillHeaderTitleBlock () | |
| Fill header title block (title and. More... | |
| setDataSection ($a_content) | |
| Call this from overwritten fillDataSection(), if standard row based data is not used. More... | |
| fillDataSection () | |
| Standard implementation for row based data. More... | |
| fillRow ($a_set) | |
| fillFooter () | |
| fillPreviousNext () | |
| Fill previous/next row. More... | |
| setPreviousNextLinks () | |
| Get previous/next linkbar. More... | |
| getAsynch () | |
| Use this for final get before sending asynchronous output (ajax) per echo to output. More... | |
| getPaginationViewControl () | |
| Fill previous/next row. More... | |
| getHTMLNew () | |
| Get HTML. More... | |
| addToDeskObject () | |
| Add desktop item @access public. More... | |
| removeFromDeskObject () | |
| Remove from desktop @access public. More... | |
Static Public Member Functions | |
| static | getScreenMode () |
| Get Screen Mode for current command. More... | |
| static | getScreenMode () |
| Get Screen Mode for current command. More... | |
Static Public Attributes | |
| static | $block_type = 'pditems' |
Protected Member Functions | |
| initViewSettings () | |
| Evaluates the view settings of this block. More... | |
| returnToContext () | |
| Return to context. More... | |
| isRepositoryObject () | |
Returns whether block has a corresponding repository object.
| |
| getViewTitle () | |
| Get view title. More... | |
| getContent () | |
| setContent (string $a_content) | |
| getGroupedCommandsForView ($manage=false) | |
| setFooterLinks () | |
| renderGroupedItems (array $grouped_items, $showHeader=true) | |
| getViewBlockHtml () | |
| initAndShow () | |
| cancel () | |
| Cancel. More... | |
| getListItemGroups () | |
| Get items. More... | |
| getLegacyContent () | |
Get legacy content.
| |
| renderManageList (array $grouped_items) | |
| getRepositoryTitle () | |
Protected Member Functions inherited from ilBlockGUI | |
| isRepositoryObject () | |
| Returns whether block has a corresponding repository object. More... | |
| initCommands () | |
| Init commands. More... | |
| fillRowColor ($a_placeholder="CSS_ROW") | |
| preloadData (array $data) | |
| Can be overwritten in subclasses. More... | |
| getLegacyContent () | |
| Get legacy content. More... | |
| getViewControls () | |
| Get view controls. More... | |
| getListItemForData (array $data) | |
| Get list item for data array. More... | |
| handleNavigation () | |
| Handle navigation. More... | |
| loadData () | |
| Load data for current page. More... | |
| getListItemGroups () | |
| Get items. More... | |
| addRepoCommands () | |
| Add repo commands. More... | |
| getNoItemFoundContent () | |
| No item entry. More... | |
Protected Attributes | |
| $rbacsystem | |
| $settings | |
| $obj_definition | |
| $viewSettings | |
| $blockView | |
| $manage = false | |
| $content = '' | |
| $lng | |
| $ctrl | |
| $user | |
| $ui | |
| $http | |
| $objectService | |
| $favourites | |
| $tree | |
| $new_rendering = true | |
Protected Attributes inherited from ilBlockGUI | |
| $ui | |
| $data = array() | |
| $enablenuminfo = true | |
| $footer_links = array() | |
| $block_id = 0 | |
| $allow_moving = true | |
| $move = array("left" => false, "right" => false, "up" => false, "down" => false) | |
| $block_commands = array() | |
| $max_count = false | |
| $close_command = false | |
| $image = false | |
| $property = false | |
| $nav_value = "" | |
| $css_row = "" | |
| $title = "" | |
| $admincommands = false | |
| $dropdown | |
| $tpl | |
| $main_tpl | |
| $user | |
| $ctrl | |
| $access | |
| $lng | |
| $obj_def | |
| $presentation | |
| $new_rendering = false | |
Additional Inherited Members | |
Data Fields inherited from ilBlockGUI | |
| const | PRES_MAIN_LEG = 0 |
| const | PRES_SEC_LEG = 1 |
| const | PRES_SEC_LIST = 2 |
| const | PRES_MAIN_LIST = 3 |
BlockGUI class for Selected Items on Personal Desktop.
@ilCtrl_IsCalledBy ilPDSelectedItemsBlockGUI: ilColumnGUI @ilCtrl_Calls ilPDSelectedItemsBlockGUI: ilCommonActionDispatcherGUI
Definition at line 30 of file class.ilPDSelectedItemsBlockGUI.php.
| ilPDSelectedItemsBlockGUI::__construct | ( | ) |
ilPDSelectedItemsBlockGUI constructor.
Reimplemented from ilBlockGUI.
Definition at line 87 of file class.ilPDSelectedItemsBlockGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\FileDelivery\http(), initViewSettings(), ilBlockGUI\setEnableNumInfo(), ilBlockGUI\setLimit(), ilBlockGUI\setPresentation(), settings(), ui(), and user().
Here is the call graph for this function:| ilPDSelectedItemsBlockGUI::addToDeskObject | ( | ) |
Add desktop item @access public.
Add desktop item @access public.
Implements ilDesktopItemHandling.
Definition at line 162 of file class.ilPDSelectedItemsBlockGUI.php.
References $_GET, returnToContext(), and user().
Here is the call graph for this function:
|
protected |
Cancel.
return
Definition at line 572 of file class.ilPDSelectedItemsBlockGUI.php.
| ilPDSelectedItemsBlockGUI::changePDItemPresentation | ( | ) |
Called if the user interacted with the provided sorting options.
Definition at line 485 of file class.ilPDSelectedItemsBlockGUI.php.
References ILIAS\FileDelivery\http(), initAndShow(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilPDSelectedItemsBlockGUI::changePDItemSorting | ( | ) |
Called if the user interacted with the provided presentation options.
Definition at line 496 of file class.ilPDSelectedItemsBlockGUI.php.
References ILIAS\FileDelivery\http(), initAndShow(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilPDSelectedItemsBlockGUI::confirmedRemove | ( | ) |
Definition at line 621 of file class.ilPDSelectedItemsBlockGUI.php.
References ILIAS\FileDelivery\http(), and user().
Here is the call graph for this function:| ilPDSelectedItemsBlockGUI::confirmedUnsubscribe | ( | ) |
Definition at line 637 of file class.ilPDSelectedItemsBlockGUI.php.
References ilObject\_lookupObjId(), ilObject\_lookupType(), ilForumNotification\checkForumsExistsDelete(), ILIAS\FileDelivery\http(), ilGroupMembershipMailNotification\TYPE_NOTIFICATION_UNSUBSCRIBE, ilGroupMembershipMailNotification\TYPE_UNSUBSCRIBE_MEMBER, and user().
Here is the call graph for this function:| ilPDSelectedItemsBlockGUI::confirmRemoveObject | ( | ) |
Definition at line 578 of file class.ilPDSelectedItemsBlockGUI.php.
References ilBlockGUI\$title, $type, ilObject\_lookupObjectId(), ilObject\_lookupTitle(), ilObject\_lookupType(), ILIAS\FileDelivery\http(), and ilUtil\sendFailure().
Here is the call graph for this function:| ilPDSelectedItemsBlockGUI::executeCommand | ( | ) |
Definition at line 275 of file class.ilPDSelectedItemsBlockGUI.php.
References ilCommonActionDispatcherGUI\getInstanceFromAjaxCall().
Here is the call graph for this function:| ilPDSelectedItemsBlockGUI::fillDataSection | ( | ) |
Standard implementation for row based data.Overwrite this and call setContent for other data.
Reimplemented from ilBlockGUI.
Definition at line 315 of file class.ilPDSelectedItemsBlockGUI.php.
References getContent(), and ilBlockGUI\setDataSection().
Here is the call graph for this function:| ilPDSelectedItemsBlockGUI::fillFooter | ( | ) |
Reimplemented from ilBlockGUI.
Definition at line 328 of file class.ilPDSelectedItemsBlockGUI.php.
| ilPDSelectedItemsBlockGUI::getBlockType | ( | ) |
Reimplemented from ilBlockGUI.
Definition at line 194 of file class.ilPDSelectedItemsBlockGUI.php.
|
protected |
Definition at line 299 of file class.ilPDSelectedItemsBlockGUI.php.
References $content.
Referenced by fillDataSection(), and setFooterLinks().
Here is the caller graph for this function:
|
protected |
Definition at line 342 of file class.ilPDSelectedItemsBlockGUI.php.
References $manage, and ilBlockGUI\$presentation.
Referenced by getLegacyContent(), getListItemGroups(), renderManageList(), and setFooterLinks().
Here is the caller graph for this function:| ilPDSelectedItemsBlockGUI::getHTML | ( | ) |
Get HTML.
Reimplemented from ilBlockGUI.
Definition at line 240 of file class.ilPDSelectedItemsBlockGUI.php.
References $DIC, getViewTitle(), ilHelpGUI\ID_PART_SCREEN, ilBlockGUI\setData(), and ilBlockGUI\setTitle().
Referenced by initAndShow().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Get legacy content.
Reimplemented from ilBlockGUI.
Definition at line 811 of file class.ilPDSelectedItemsBlockGUI.php.
References Vendor\Package\$e, $factory, ilBlockGUI\addBlockCommand(), ilObjectActivation\addListGUIActivationProperty(), getGroupedCommandsForView(), and ui().
Here is the call graph for this function:
|
protected |
Get items.
Reimplemented from ilBlockGUI.
Definition at line 700 of file class.ilPDSelectedItemsBlockGUI.php.
References $DIC, Vendor\Package\$e, $factory, ilBlockGUI\addBlockCommand(), ilObjectActivation\addListGUIActivationProperty(), getGroupedCommandsForView(), and ilBlockGUI\getListItemForData().
Here is the call graph for this function:| ilPDSelectedItemsBlockGUI::getNoItemFoundContent | ( | ) |
No item entry.
Reimplemented from ilBlockGUI.
Reimplemented in ilPDMembershipBlockGUI.
Definition at line 892 of file class.ilPDSelectedItemsBlockGUI.php.
References $txt, ilLink\_getStaticLink(), and ui().
Here is the call graph for this function:
|
protected |
Definition at line 909 of file class.ilPDSelectedItemsBlockGUI.php.
References $nd, and ilBlockGUI\$title.
|
static |
Get Screen Mode for current command.
Reimplemented from ilBlockGUI.
Definition at line 202 of file class.ilPDSelectedItemsBlockGUI.php.
References $_GET, $_POST, IL_SCREEN_FULL, and IL_SCREEN_SIDE.
|
protected |
Definition at line 475 of file class.ilPDSelectedItemsBlockGUI.php.
References renderGroupedItems().
Here is the call graph for this function:| ilPDSelectedItemsBlockGUI::getViewSettings | ( | ) |
Definition at line 145 of file class.ilPDSelectedItemsBlockGUI.php.
References $viewSettings.
|
protected |
Get view title.
Reimplemented in ilPDMembershipBlockGUI.
Definition at line 232 of file class.ilPDSelectedItemsBlockGUI.php.
Referenced by getHTML().
Here is the caller graph for this function:
|
protected |
Definition at line 508 of file class.ilPDSelectedItemsBlockGUI.php.
References $_GET, exit, getHTML(), initViewSettings(), and returnToContext().
Referenced by changePDItemPresentation(), and changePDItemSorting().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Evaluates the view settings of this block.
Reimplemented in ilPDMembershipBlockGUI.
Definition at line 128 of file class.ilPDSelectedItemsBlockGUI.php.
References ilPDSelectedItemsBlockViewGUI\bySettings(), user(), and ilPDSelectedItemsBlockConstants\VIEW_SELECTED_ITEMS.
Referenced by __construct(), and initAndShow().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Returns whether block has a corresponding repository object.
Reimplemented from ilBlockGUI.
Definition at line 223 of file class.ilPDSelectedItemsBlockGUI.php.
| ilPDSelectedItemsBlockGUI::manageObject | ( | ) |
Definition at line 524 of file class.ilPDSelectedItemsBlockGUI.php.
References ilUtil\getImagePath(), ilParticipants\getInstance(), ilSubmitButton\getInstance(), renderManageList(), and user().
Here is the call graph for this function:| ilPDSelectedItemsBlockGUI::removeFromDeskObject | ( | ) |
Remove from desktop @access public.
Implements ilDesktopItemHandling.
Definition at line 183 of file class.ilPDSelectedItemsBlockGUI.php.
References $_GET, returnToContext(), and user().
Here is the call graph for this function:
|
protected |
| ilPDSelectedItemsBlockGroup[] | $grouped_items | |
| bool | $showHeader |
Definition at line 435 of file class.ilPDSelectedItemsBlockGUI.php.
References ui().
Referenced by getViewBlockHtml().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 857 of file class.ilPDSelectedItemsBlockGUI.php.
References $ui, ilBlockGUI\addBlockCommand(), getGroupedCommandsForView(), standard(), and ui().
Referenced by manageObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Return to context.
return
Reimplemented in ilPDMembershipBlockGUI.
Definition at line 174 of file class.ilPDSelectedItemsBlockGUI.php.
Referenced by addToDeskObject(), initAndShow(), and removeFromDeskObject().
Here is the caller graph for this function:
|
protected |
| string | $a_content |
Definition at line 307 of file class.ilPDSelectedItemsBlockGUI.php.
References $a_content.
|
protected |
Definition at line 406 of file class.ilPDSelectedItemsBlockGUI.php.
References ilBlockGUI\addBlockCommand(), getContent(), getGroupedCommandsForView(), and ilBlockGUI\setEnableNumInfo().
Here is the call graph for this function:
|
static |
Definition at line 42 of file class.ilPDSelectedItemsBlockGUI.php.
|
protected |
Definition at line 48 of file class.ilPDSelectedItemsBlockGUI.php.
|
protected |
Definition at line 54 of file class.ilPDSelectedItemsBlockGUI.php.
Referenced by getContent().
|
protected |
Definition at line 60 of file class.ilPDSelectedItemsBlockGUI.php.
|
protected |
Definition at line 77 of file class.ilPDSelectedItemsBlockGUI.php.
|
protected |
Definition at line 69 of file class.ilPDSelectedItemsBlockGUI.php.
|
protected |
Definition at line 57 of file class.ilPDSelectedItemsBlockGUI.php.
|
protected |
Definition at line 51 of file class.ilPDSelectedItemsBlockGUI.php.
Referenced by getGroupedCommandsForView().
|
protected |
Definition at line 692 of file class.ilPDSelectedItemsBlockGUI.php.
|
protected |
Definition at line 39 of file class.ilPDSelectedItemsBlockGUI.php.
|
protected |
Definition at line 72 of file class.ilPDSelectedItemsBlockGUI.php.
|
protected |
Definition at line 33 of file class.ilPDSelectedItemsBlockGUI.php.
|
protected |
Definition at line 36 of file class.ilPDSelectedItemsBlockGUI.php.
|
protected |
Definition at line 82 of file class.ilPDSelectedItemsBlockGUI.php.
|
protected |
Definition at line 66 of file class.ilPDSelectedItemsBlockGUI.php.
Referenced by renderManageList().
|
protected |
Definition at line 63 of file class.ilPDSelectedItemsBlockGUI.php.
|
protected |
Definition at line 45 of file class.ilPDSelectedItemsBlockGUI.php.
Referenced by getViewSettings().