|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ilContainerRenderer:Public Member Functions | |
| setBlockPrefixClosure (Closure $f) | |
| setBlockPostfixClosure (Closure $f) | |
| setItemHiddenClosure (Closure $f) | |
| setItemModifierClosure (Closure $f) | |
| addTypeBlock (string $a_type, ?string $a_prefix=null, ?string $a_postfix=null) | |
| hasTypeBlock (string $a_type) | |
| addCustomBlock ( $a_id, string $a_caption, ?string $a_actions=null, array $a_data=[]) | |
| Add custom block. More... | |
| hasCustomBlock ($a_id) | |
| Custom block already exists? More... | |
| isValidBlock ($a_id) | |
| Any block with id exists? More... | |
| hideItem ($a_id) | |
| Mark item id as used, but do not render. More... | |
| removeItem ($a_id) | |
| Remove item (from any block) More... | |
| hasItem ($a_id) | |
| Item with id exists? More... | |
| addItemToBlock ( $a_block_id, string $a_item_type, $a_item_id, $a_item_html, bool $a_force=false) | |
| Add item to existing block. More... | |
| addItemId ($a_item_id) | |
| addShowMoreButton ($a_block_id) | |
| Add show more button to a block. More... | |
| addDetailsLevel (int $a_level, string $a_url, bool $a_active=false) | |
| resetDetails () | |
| setBlockPosition ( $a_block_id, int $a_pos) | |
| getHTML () | |
| renderSingleTypeBlock (string $a_type, bool $exhausted=false) | |
| renderSingleCustomBlock ($a_id) | |
| renderDetails (ilTemplate $a_tpl) | |
| getItemRenderer () | |
| Render Item Block Sequence. More... | |
| renderItemBlockSequence (\ILIAS\Container\Content\ItemBlock\ItemBlockSequence $sequence) | |
Protected Member Functions | |
| getViewMode () | |
| processBlockPositions () | |
| renderHelperCustomBlock (ilTemplate $a_block_tpl, $a_block_id, bool $a_is_single=false, bool $is_exhausted=false) | |
| renderHelperTypeBlock (ilTemplate $a_block_tpl, string $a_type, bool $a_is_single=false, bool $is_exhausted=false) | |
| getViewModeOfItemGroup (int $ref_id) | |
| getListPresentationOfItemGroup (int $ref_id) | |
| renderHelperGeneric (ilTemplate $a_block_tpl, $a_block_id, array $a_block, bool $a_is_single=false, bool $is_exhausted=false) | |
| initBlockTemplate () | |
| addHeaderRow (ilTemplate $a_tpl, string $a_type="", string $a_text="", ?array $a_types_in_block=null, string $a_commands_html="", string $a_order_id="", array $a_data=[]) | |
| Render block header. More... | |
| addStandardRow (ilTemplate $a_tpl, string $a_html, ?string $a_item_id=null) | |
| renderSelectAllBlock (ilTemplate $a_tpl) | |
| Render "select all". More... | |
| addSeparatorRow (ilTemplate $a_tpl) | |
| getDownloadableTypes () | |
| Get downloadable repository object types. More... | |
| renderContainerPage () | |
| getDetailsLevel (int $a_item_id) | |
| addItemGroupBlock (string $block_id, int $block_pos=0) | |
| replaces ilContainerContentGUI::renderItemGroup More... | |
| getBlockPrefix ($block_id) | |
| getBlockPostfix ($block_id) | |
| isItemHidden (string $block_id, int $ref_id) | |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilContainerRenderer
Definition at line 24 of file class.ilContainerRenderer.php.
| ilContainerRenderer::addCustomBlock | ( | $a_id, | |
| string | $a_caption, | ||
| ?string | $a_actions = null, |
||
| array | $a_data = [] |
||
| ) |
Add custom block.
| mixed | $a_id |
Definition at line 189 of file class.ilContainerRenderer.php.
| ilContainerRenderer::addDetailsLevel | ( | int | $a_level, |
| string | $a_url, | ||
| bool | $a_active = false |
||
| ) |
Definition at line 346 of file class.ilContainerRenderer.php.
|
protected |
Render block header.
| string | $a_order_id | item group id or type, e.g. "crs" |
| ilTemplateException |
Definition at line 684 of file class.ilContainerRenderer.php.
|
protected |
replaces ilContainerContentGUI::renderItemGroup
Definition at line 1061 of file class.ilContainerRenderer.php.
References $data, ilItemGroupBehaviour\ALWAYS_OPEN, ilItemGroupBehaviour\EXPANDABLE_CLOSED, ilItemGroupBehaviour\EXPANDABLE_OPEN, ilObjItemGroup\lookupHideTitle(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilContainerRenderer::addItemId | ( | $a_item_id | ) |
| mixed | $a_item_id |
Definition at line 332 of file class.ilContainerRenderer.php.
| ilContainerRenderer::addItemToBlock | ( | $a_block_id, | |
| string | $a_item_type, | ||
| $a_item_id, | |||
| $a_item_html, | |||
| bool | $a_force = false |
||
| ) |
Add item to existing block.
| mixed | $a_block_id | |
| mixed | $a_item_id | |
| mixed | $a_item_html |
Definition at line 295 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 801 of file class.ilContainerRenderer.php.
References ilTemplate\parseCurrentBlock(), and ilTemplate\setCurrentBlock().
Here is the call graph for this function:| ilContainerRenderer::addShowMoreButton | ( | $a_block_id | ) |
Add show more button to a block.
| mixed | $a_block_id |
Definition at line 341 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 766 of file class.ilContainerRenderer.php.
References ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Here is the call graph for this function:| ilContainerRenderer::addTypeBlock | ( | string | $a_type, |
| ?string | $a_prefix = null, |
||
| ?string | $a_postfix = null |
||
| ) |
Definition at line 164 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 1146 of file class.ilContainerRenderer.php.
References $c.
|
protected |
Definition at line 1137 of file class.ilContainerRenderer.php.
References $c.
|
protected |
Definition at line 840 of file class.ilContainerRenderer.php.
References ilContainerContentGUI\DETAILS_DEACTIVATED, and ilContainerContentGUI\DETAILS_TITLE.
|
protected |
Get downloadable repository object types.
Definition at line 810 of file class.ilContainerRenderer.php.
| ilContainerRenderer::getHTML | ( | ) |
Definition at line 379 of file class.ilContainerRenderer.php.
References $valid.
| ilContainerRenderer::getItemRenderer | ( | ) |
Render Item Block Sequence.
Definition at line 830 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 525 of file class.ilContainerRenderer.php.
References $ref_id.
|
protected |
Definition at line 155 of file class.ilContainerRenderer.php.
References $view_mode.
|
protected |
Definition at line 513 of file class.ilContainerRenderer.php.
References $ref_id, ilContainerContentGUI\VIEW_MODE_LIST, and ilContainerContentGUI\VIEW_MODE_TILE.
| ilContainerRenderer::hasCustomBlock | ( | $a_id | ) |
Custom block already exists?
| mixed | $a_id |
Definition at line 210 of file class.ilContainerRenderer.php.
| ilContainerRenderer::hasItem | ( | $a_id | ) |
Item with id exists?
| mixed | $a_id |
Definition at line 282 of file class.ilContainerRenderer.php.
| ilContainerRenderer::hasTypeBlock | ( | string | $a_type | ) |
Definition at line 180 of file class.ilContainerRenderer.php.
| ilContainerRenderer::hideItem | ( | $a_id | ) |
Mark item id as used, but do not render.
| mixed | $a_id |
Definition at line 235 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 674 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 1155 of file class.ilContainerRenderer.php.
| ilContainerRenderer::isValidBlock | ( | $a_id | ) |
Any block with id exists?
| mixed | $a_id |
Definition at line 219 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 437 of file class.ilContainerRenderer.php.
| ilContainerRenderer::removeItem | ( | $a_id | ) |
Remove item (from any block)
| mixed | $a_id |
Definition at line 248 of file class.ilContainerRenderer.php.
References $parts.
|
protected |
Definition at line 835 of file class.ilContainerRenderer.php.
| ilContainerRenderer::renderDetails | ( | ilTemplate | $a_tpl | ) |
Definition at line 815 of file class.ilContainerRenderer.php.
References $lng, ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Here is the call graph for this function:
|
protected |
| mixed | $a_block_id |
Definition at line 487 of file class.ilContainerRenderer.php.
|
protected |
| mixed | $a_block_id |
Definition at line 534 of file class.ilContainerRenderer.php.
References Vendor\Package\$f, $id, $renderer, $url, ilContainer\_lookupContainerSetting(), ILIAS\Repository\lng(), ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), HTML_Template_IT\setVariable(), ilContainer\TILE_EXTRA_LARGE, ilContainer\TILE_FULL, ilContainer\TILE_LARGE, ilContainer\TILE_SMALL, ILIAS\Repository\ui(), ilContainerContentGUI\VIEW_MODE_LIST, and ilContainerContentGUI\VIEW_MODE_TILE.
Here is the call graph for this function:
|
protected |
Definition at line 499 of file class.ilContainerRenderer.php.
| ilContainerRenderer::renderItemBlockSequence | ( | \ILIAS\Container\Content\ItemBlock\ItemBlockSequence | $sequence | ) |
Definition at line 854 of file class.ilContainerRenderer.php.
|
protected |
Render "select all".
Definition at line 789 of file class.ilContainerRenderer.php.
References $lng, ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Here is the call graph for this function:| ilContainerRenderer::renderSingleCustomBlock | ( | $a_id | ) |
| mixed | $a_id |
Definition at line 422 of file class.ilContainerRenderer.php.
| ilContainerRenderer::renderSingleTypeBlock | ( | string | $a_type, |
| bool | $exhausted = false |
||
| ) |
Definition at line 410 of file class.ilContainerRenderer.php.
| ilContainerRenderer::resetDetails | ( | ) |
Definition at line 357 of file class.ilContainerRenderer.php.
| ilContainerRenderer::setBlockPosition | ( | $a_block_id, | |
| int | $a_pos | ||
| ) |
| mixed | $a_block_id |
Definition at line 370 of file class.ilContainerRenderer.php.
| ilContainerRenderer::setBlockPostfixClosure | ( | Closure | $f | ) |
Definition at line 139 of file class.ilContainerRenderer.php.
References Vendor\Package\$f.
| ilContainerRenderer::setBlockPrefixClosure | ( | Closure | $f | ) |
Definition at line 134 of file class.ilContainerRenderer.php.
References Vendor\Package\$f.
| ilContainerRenderer::setItemHiddenClosure | ( | Closure | $f | ) |
Definition at line 144 of file class.ilContainerRenderer.php.
References Vendor\Package\$f.
| ilContainerRenderer::setItemModifierClosure | ( | Closure | $f | ) |
Definition at line 149 of file class.ilContainerRenderer.php.
References Vendor\Package\$f.
|
protected |
Definition at line 28 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 43 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 33 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 56 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 60 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 50 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 59 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 68 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 67 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 71 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 38 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 66 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 47 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 51 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 41 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 42 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 49 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 69 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 52 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 27 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 70 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 32 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 31 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 48 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 35 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 37 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 30 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 61 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 55 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 36 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 63 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 46 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 65 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 29 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 64 of file class.ilContainerRenderer.php.
Referenced by getViewMode().
|
protected |
Definition at line 26 of file class.ilContainerRenderer.php.