ILIAS
trunk Revision v11.0_alpha-1749-g1a06bdef097
|
Public Member Functions | |
__construct () | |
initViewSettings () | |
initData () | |
emptyHandling () | |
addCustomCommandsToActionMenu (ilObjectListGUI $itemListGui, int $ref_id) | |
getNoItemFoundContent () | |
getViewSettings () | |
init () | |
getHTML () | |
setData (array $a_data) | |
getData () | |
addCommandActions () | |
getRemoveModal () | |
executeCommand () | |
viewDashboardObject () | |
changePDItemSortingObject () | |
changePDItemPresentationObject () | |
getItemGroups () | |
addToDeskObject () | |
removeFromDeskObject () | |
removeMultipleEnabled () | |
getRemoveMultipleActionText () | |
confirmedRemove (array $ids) | |
byType (string $a_type) | |
![]() | |
__construct () | |
getBlockType () | |
setData (array $a_data) | |
getData () | |
setPresentation (int $type) | |
getPresentation () | |
setBlockId (string $a_block_id="0") | |
getBlockId () | |
setGuiObject (object $a_gui_object) | |
Set GuiObject. More... | |
getGuiObject () | |
setTitle (string $a_title) | |
getTitle () | |
setOffset (int $a_offset) | |
getOffset () | |
checkOffset (int $offset) | |
setLimit (int $a_limit) | |
getLimit () | |
setEnableEdit (bool $a_enableedit) | |
getEnableEdit () | |
setRepositoryMode (bool $a_repositorymode) | |
getRepositoryMode () | |
setSubtitle (string $a_subtitle) | |
getSubtitle () | |
setRefId (int $a_refid) | |
Set Ref Id (only used if isRepositoryObject() is true). More... | |
getRefId () | |
setAdminCommands (bool $a_admincommands) | |
getAdminCommands () | |
setEnableNumInfo (bool $a_enablenuminfo) | |
getEnableNumInfo () | |
setProperties (array $a_properties) | |
This function is supposed to be used for block type specific properties, that should be inherited through ilColumnGUI->setBlockProperties. More... | |
getProperty (string $a_property) | |
setProperty (string $a_property, string $a_value) | |
setRowTemplate (string $a_rowtemplatename, string $a_rowtemplatedir="") | |
Set Row Template Name. More... | |
getNavParameter () | |
getConfigParameter () | |
getMoveParameter () | |
getRowTemplateName () | |
getRowTemplateDir () | |
addBlockCommand (string $a_href, string $a_text, string $a_onclick="", ?RoundTrip $modal=null) | |
getBlockCommands () | |
getHTML () | |
getAsynch () | |
Use this for final get before sending asynchronous output (ajax) per echo to output. More... | |
getPaginationViewControl () | |
Fill previous/next row. More... | |
getViewControlsForPanel () | |
sortObject () | |
addSortOption (string $option, string $label, bool $active) | |
setSortTarget (string $target) | |
addPresentation (string $label, string $target, bool $active) | |
getNoItemFoundContent () | |
Protected Member Functions | |
getCardForData (BlockDTO $data) | |
getListItemGroups () | |
getListItemForDataDTO (BlockDTO $data) | |
isRepositoryObject () | |
getLegacyContent () | |
initAndShow () | |
isRootNode (int $refId) | |
getRepositoryTitle () | |
getManageFields () | |
![]() | |
isRepositoryObject () | |
Returns whether block has a corresponding repository object. More... | |
specialCharsAsEntities (string $string) | |
initCommands () | |
preloadData (array $data) | |
Can be overwritten in subclasses. More... | |
getLegacyContent () | |
Get legacy content. 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... | |
getActionsForPanel () | |
send (string $output) | |
Send. More... | |
Private Member Functions | |
sortByDate (array $data, bool $asc=true) | |
sortByTitle (array $data) | |
Private Attributes | |
string | $content |
ilRbacSystem | $rbacsystem |
string | $parent |
mixed | $object_cache |
ilTree | $tree |
mixed | $objDefinition |
Factory | $refinery |
Additional Inherited Members | |
![]() | |
static | getScreenMode () |
![]() | |
const | PRES_MAIN_LEG = 0 |
const | PRES_SEC_LEG = 1 |
const | PRES_SEC_LIST = 2 |
const | PRES_MAIN_LIST = 3 |
const | PRES_MAIN_TILE = 4 |
Definition at line 32 of file class.ilDashboardBlockGUI.php.
ilDashboardBlockGUI::__construct | ( | ) |
Definition at line 50 of file class.ilDashboardBlockGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\ctrl(), emptyHandling(), ILIAS\FileDelivery\http(), init(), initData(), initViewSettings(), ILIAS\Repository\refinery(), and ILIAS\Repository\settings().
ilDashboardBlockGUI::addCommandActions | ( | ) |
Definition at line 356 of file class.ilDashboardBlockGUI.php.
References ilBlockGUI\$presentation, ilBlockGUI\$presentations, ilBlockGUI\addBlockCommand(), ilBlockGUI\addPresentation(), ilBlockGUI\addSortOption(), ILIAS\Repository\ctrl(), ilObjDashboardSettingsGUI\DASH_SORT_PREFIX, getRemoveModal(), getRemoveMultipleActionText(), ILIAS\Repository\lng(), null, removeMultipleEnabled(), ilBlockGUI\setSortTarget(), and ILIAS\Repository\ui().
Referenced by getHTML().
ilDashboardBlockGUI::addCustomCommandsToActionMenu | ( | ilObjectListGUI | $itemListGui, |
int | $ref_id | ||
) |
Definition at line 73 of file class.ilDashboardBlockGUI.php.
Referenced by getCardForData(), and getListItemForDataDTO().
ilDashboardBlockGUI::addToDeskObject | ( | ) |
Implements ilDesktopItemHandling.
Definition at line 522 of file class.ilDashboardBlockGUI.php.
References $requested_item_ref_id, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
ilDashboardBlockGUI::byType | ( | string | $a_type | ) |
Definition at line 547 of file class.ilDashboardBlockGUI.php.
References $location.
Referenced by getCardForData(), and getListItemForDataDTO().
ilDashboardBlockGUI::changePDItemPresentationObject | ( | ) |
Definition at line 493 of file class.ilDashboardBlockGUI.php.
References ILIAS\FileDelivery\http(), initAndShow(), and ilUtil\stripSlashes().
ilDashboardBlockGUI::changePDItemSortingObject | ( | ) |
Definition at line 484 of file class.ilDashboardBlockGUI.php.
References ILIAS\FileDelivery\http(), initAndShow(), and ilUtil\stripSlashes().
ilDashboardBlockGUI::confirmedRemove | ( | array | $ids | ) |
int[] | $ids |
Definition at line 543 of file class.ilDashboardBlockGUI.php.
Referenced by executeCommand().
|
abstract |
Referenced by __construct(), getHTML(), and getNoItemFoundContent().
ilDashboardBlockGUI::executeCommand | ( | ) |
Definition at line 451 of file class.ilDashboardBlockGUI.php.
References confirmedRemove(), ILIAS\Repository\ctrl(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), getManageFields(), ILIAS\FileDelivery\http(), and ILIAS\Repository\ui().
|
protected |
Definition at line 77 of file class.ilDashboardBlockGUI.php.
References addCustomCommandsToActionMenu(), byType(), ILIAS\components\Dashboard\Block\BlockDTO\getDescription(), ILIAS\components\Dashboard\Block\BlockDTO\getObjId(), ILIAS\components\Dashboard\Block\BlockDTO\getRefId(), ILIAS\components\Dashboard\Block\BlockDTO\getTitle(), and ILIAS\components\Dashboard\Block\BlockDTO\getType().
Referenced by getLegacyContent().
ilDashboardBlockGUI::getData | ( | ) |
Definition at line 230 of file class.ilDashboardBlockGUI.php.
References ilBlockGUI\$title, ilObjectPlugin\getPluginObjectByType(), ILIAS\components\Dashboard\Block\BlockDTO\getRefId(), getRepositoryTitle(), isRootNode(), ILIAS\Repository\lng(), sortByDate(), and sortByTitle().
Referenced by getItemGroups().
ilDashboardBlockGUI::getHTML | ( | ) |
Definition at line 198 of file class.ilDashboardBlockGUI.php.
References addCommandActions(), emptyHandling(), getItemGroups(), ILIAS\Repository\lng(), setData(), and ilBlockGUI\setTitle().
Referenced by initAndShow().
ilDashboardBlockGUI::getItemGroups | ( | ) |
Definition at line 504 of file class.ilDashboardBlockGUI.php.
References $data, getData(), ilPDSelectedItemsBlockConstants\SORT_BY_ALPHABET, ilPDSelectedItemsBlockConstants\SORT_BY_LOCATION, ilPDSelectedItemsBlockConstants\SORT_BY_START_DATE, ilPDSelectedItemsBlockConstants\SORT_BY_TYPE, and sortByTitle().
Referenced by getHTML(), and getManageFields().
|
protected |
Definition at line 140 of file class.ilDashboardBlockGUI.php.
References ilBlockGUI\$title, factory(), getCardForData(), getNoItemFoundContent(), ilBlockGUI\loadData(), renderer(), and ILIAS\Repository\ui().
|
protected |
Definition at line 118 of file class.ilDashboardBlockGUI.php.
References addCustomCommandsToActionMenu(), byType(), ILIAS\components\Dashboard\Block\BlockDTO\getAdditionalData(), ILIAS\components\Dashboard\Block\BlockDTO\getDescription(), ILIAS\components\Dashboard\Block\BlockDTO\getObjId(), ILIAS\components\Dashboard\Block\BlockDTO\getRefId(), ILIAS\components\Dashboard\Block\BlockDTO\getTitle(), and ILIAS\components\Dashboard\Block\BlockDTO\getType().
Referenced by getListItemGroups().
|
protected |
Definition at line 92 of file class.ilDashboardBlockGUI.php.
References ilBlockGUI\$title, factory(), getListItemForDataDTO(), ilBlockGUI\loadData(), null, and ilLPStatus\preloadListGUIData().
|
protected |
Definition at line 421 of file class.ilDashboardBlockGUI.php.
References ILIAS\UI\Implementation\Component\Input\$inputs, ilObject\_getIcon(), ilParticipants\getInstance(), getItemGroups(), ILIAS\Repository\refinery(), and ILIAS\Repository\ui().
Referenced by executeCommand(), and getRemoveModal().
ilDashboardBlockGUI::getNoItemFoundContent | ( | ) |
Definition at line 160 of file class.ilDashboardBlockGUI.php.
References emptyHandling().
Referenced by getLegacyContent().
ilDashboardBlockGUI::getRemoveModal | ( | ) |
Definition at line 391 of file class.ilDashboardBlockGUI.php.
References $id, ILIAS\Repository\ctrl(), getManageFields(), getRemoveMultipleActionText(), ILIAS\Repository\lng(), and ILIAS\Repository\ui().
Referenced by addCommandActions().
|
abstract |
Referenced by addCommandActions(), getRemoveModal(), and removeFromDeskObject().
|
protected |
Definition at line 344 of file class.ilDashboardBlockGUI.php.
References $nd, ilBlockGUI\$title, and ILIAS\Repository\lng().
Referenced by ilSelectedItemsBlockGUI\emptyHandling(), and getData().
ilDashboardBlockGUI::getViewSettings | ( | ) |
Definition at line 165 of file class.ilDashboardBlockGUI.php.
References $viewSettings.
ilDashboardBlockGUI::init | ( | ) |
Definition at line 170 of file class.ilDashboardBlockGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), initData(), initViewSettings(), ILIAS\Repository\int(), ILIAS\Repository\lng(), and ilBlockGUI\setPresentation().
Referenced by __construct(), and initAndShow().
|
protected |
Definition at line 188 of file class.ilDashboardBlockGUI.php.
References ILIAS\Repository\ctrl(), getHTML(), and init().
Referenced by changePDItemPresentationObject(), changePDItemSortingObject(), and viewDashboardObject().
|
abstract |
Referenced by __construct(), init(), and ilDashboardLearningSequenceGUI\initViewSettings().
|
abstract |
|
protected |
Definition at line 135 of file class.ilDashboardBlockGUI.php.
|
protected |
Definition at line 339 of file class.ilDashboardBlockGUI.php.
References $refId.
Referenced by getData().
ilDashboardBlockGUI::removeFromDeskObject | ( | ) |
Implements ilDesktopItemHandling.
Definition at line 529 of file class.ilDashboardBlockGUI.php.
References $requested_item_ref_id, ILIAS\Repository\ctrl(), getRemoveMultipleActionText(), ILIAS\Repository\lng(), removeMultipleEnabled(), and ILIAS\Repository\user().
|
abstract |
Referenced by addCommandActions(), and removeFromDeskObject().
ilDashboardBlockGUI::setData | ( | array | $a_data | ) |
array<BlockDTO[]> | $a_data |
Definition at line 217 of file class.ilDashboardBlockGUI.php.
Referenced by getHTML(), ilStudyProgrammeDashboardViewGUI\initData(), ilMembershipBlockGUI\initData(), ilDashboardRecommendedContentGUI\initData(), ilSelectedItemsBlockGUI\initData(), and ilDashboardLearningSequenceGUI\initViewSettings().
|
private |
BlockDTO[] | $data |
Definition at line 582 of file class.ilDashboardBlockGUI.php.
References $data, ILIAS\components\Dashboard\Block\BlockDTO\getStartDate(), and IL_CAL_UNIX.
Referenced by getData().
|
private |
BlockDTO[] | $data |
Definition at line 596 of file class.ilDashboardBlockGUI.php.
References $data, and ILIAS\components\Dashboard\Block\BlockDTO\getTitle().
Referenced by getData(), and getItemGroups().
ilDashboardBlockGUI::viewDashboardObject | ( | ) |
Definition at line 479 of file class.ilDashboardBlockGUI.php.
References initAndShow().
|
private |
Definition at line 34 of file class.ilDashboardBlockGUI.php.
|
protected |
Definition at line 48 of file class.ilDashboardBlockGUI.php.
Referenced by getItemGroups(), ilMembershipBlockGUI\initData(), ilSelectedItemsBlockGUI\initData(), ilDashboardLearningSequenceGUI\initViewSettings(), sortByDate(), and sortByTitle().
|
protected |
Definition at line 37 of file class.ilDashboardBlockGUI.php.
|
protected |
Definition at line 44 of file class.ilDashboardBlockGUI.php.
|
protected |
Definition at line 43 of file class.ilDashboardBlockGUI.php.
|
private |
Definition at line 41 of file class.ilDashboardBlockGUI.php.
|
private |
Definition at line 39 of file class.ilDashboardBlockGUI.php.
|
private |
Definition at line 36 of file class.ilDashboardBlockGUI.php.
|
private |
Definition at line 35 of file class.ilDashboardBlockGUI.php.
|
private |
Definition at line 45 of file class.ilDashboardBlockGUI.php.
|
protected |
Definition at line 38 of file class.ilDashboardBlockGUI.php.
Referenced by addToDeskObject(), removeFromDeskObject(), and ilDashboardRecommendedContentGUI\removeRecommendationObject().
|
protected |
Definition at line 42 of file class.ilDashboardBlockGUI.php.
Referenced by ilFavouritesListGUI\__construct().
|
private |
Definition at line 40 of file class.ilDashboardBlockGUI.php.
|
protected |
Definition at line 46 of file class.ilDashboardBlockGUI.php.
Referenced by getViewSettings().