|
ILIAS
trunk Revision v12.0_alpha-1221-g4e438232683
|
Class ilContainerRenderer. 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 (ItemBlockSequence $sequence) | |
| renderSingleTypeBlockAsynch (ItemBlockSequence $sequence, string $block_id, array $already_rendered_items, int $block_limit) | |
| getBlockById (ItemBlockSequence $sequence, string $block_id,) | |
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) | |
Class ilContainerRenderer.
Definition at line 27 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 192 of file class.ilContainerRenderer.php.
| ilContainerRenderer::addDetailsLevel | ( | int | $a_level, |
| string | $a_url, | ||
| bool | $a_active = false |
||
| ) |
Definition at line 349 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 687 of file class.ilContainerRenderer.php.
|
protected |
replaces ilContainerContentGUI::renderItemGroup
Definition at line 1136 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 335 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 298 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 804 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 344 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 769 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 167 of file class.ilContainerRenderer.php.
| ilContainerRenderer::getBlockById | ( | ItemBlockSequence | $sequence, |
| string | $block_id | ||
| ) |
Definition at line 1121 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 1221 of file class.ilContainerRenderer.php.
References $c.
|
protected |
Definition at line 1212 of file class.ilContainerRenderer.php.
References $c.
|
protected |
Definition at line 843 of file class.ilContainerRenderer.php.
References ilContainerContentGUI\DETAILS_DEACTIVATED, and ilContainerContentGUI\DETAILS_TITLE.
|
protected |
Get downloadable repository object types.
Definition at line 813 of file class.ilContainerRenderer.php.
| ilContainerRenderer::getHTML | ( | ) |
Definition at line 382 of file class.ilContainerRenderer.php.
References $valid.
| ilContainerRenderer::getItemRenderer | ( | ) |
Render Item Block Sequence.
Definition at line 833 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 528 of file class.ilContainerRenderer.php.
References $ref_id.
|
protected |
Definition at line 158 of file class.ilContainerRenderer.php.
References $view_mode.
|
protected |
Definition at line 516 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 213 of file class.ilContainerRenderer.php.
| ilContainerRenderer::hasItem | ( | $a_id | ) |
Item with id exists?
| mixed | $a_id |
Definition at line 285 of file class.ilContainerRenderer.php.
| ilContainerRenderer::hasTypeBlock | ( | string | $a_type | ) |
Definition at line 183 of file class.ilContainerRenderer.php.
| ilContainerRenderer::hideItem | ( | $a_id | ) |
Mark item id as used, but do not render.
| mixed | $a_id |
Definition at line 238 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 677 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 1230 of file class.ilContainerRenderer.php.
| ilContainerRenderer::isValidBlock | ( | $a_id | ) |
Any block with id exists?
| mixed | $a_id |
Definition at line 222 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 440 of file class.ilContainerRenderer.php.
| ilContainerRenderer::removeItem | ( | $a_id | ) |
Remove item (from any block)
| mixed | $a_id |
Definition at line 251 of file class.ilContainerRenderer.php.
References $parts.
|
protected |
Definition at line 838 of file class.ilContainerRenderer.php.
| ilContainerRenderer::renderDetails | ( | ilTemplate | $a_tpl | ) |
Definition at line 818 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 490 of file class.ilContainerRenderer.php.
|
protected |
| mixed | $a_block_id |
Definition at line 537 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 502 of file class.ilContainerRenderer.php.
| ilContainerRenderer::renderItemBlockSequence | ( | ItemBlockSequence | $sequence | ) |
Definition at line 857 of file class.ilContainerRenderer.php.
|
protected |
Render "select all".
Definition at line 792 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 425 of file class.ilContainerRenderer.php.
| ilContainerRenderer::renderSingleTypeBlock | ( | string | $a_type, |
| bool | $exhausted = false |
||
| ) |
Definition at line 413 of file class.ilContainerRenderer.php.
| ilContainerRenderer::renderSingleTypeBlockAsynch | ( | ItemBlockSequence | $sequence, |
| string | $block_id, | ||
| array | $already_rendered_items, | ||
| int | $block_limit | ||
| ) |
Definition at line 1061 of file class.ilContainerRenderer.php.
References $counter, ILIAS\Containter\Content\ItemRenderer\CHECKBOX_ADMIN, ILIAS\Containter\Content\ItemRenderer\CHECKBOX_DOWNLOAD, and ILIAS\Containter\Content\ItemRenderer\CHECKBOX_NONE.
| ilContainerRenderer::resetDetails | ( | ) |
Definition at line 360 of file class.ilContainerRenderer.php.
| ilContainerRenderer::setBlockPosition | ( | $a_block_id, | |
| int | $a_pos | ||
| ) |
| mixed | $a_block_id |
Definition at line 373 of file class.ilContainerRenderer.php.
| ilContainerRenderer::setBlockPostfixClosure | ( | Closure | $f | ) |
Definition at line 142 of file class.ilContainerRenderer.php.
References Vendor\Package\$f.
| ilContainerRenderer::setBlockPrefixClosure | ( | Closure | $f | ) |
Definition at line 137 of file class.ilContainerRenderer.php.
References Vendor\Package\$f.
| ilContainerRenderer::setItemHiddenClosure | ( | Closure | $f | ) |
Definition at line 147 of file class.ilContainerRenderer.php.
References Vendor\Package\$f.
| ilContainerRenderer::setItemModifierClosure | ( | Closure | $f | ) |
Definition at line 152 of file class.ilContainerRenderer.php.
References Vendor\Package\$f.
|
protected |
Definition at line 31 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 46 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 36 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 59 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 63 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 53 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 62 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 71 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 70 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 74 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 41 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 69 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 50 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 54 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 44 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 45 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 52 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 72 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 55 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 30 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 73 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 35 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 34 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 51 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 38 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 40 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 33 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 64 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 58 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 39 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 66 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 49 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 68 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 32 of file class.ilContainerRenderer.php.
|
protected |
Definition at line 67 of file class.ilContainerRenderer.php.
Referenced by getViewMode().
|
protected |
Definition at line 29 of file class.ilContainerRenderer.php.