ILIAS
release_8 Revision v8.19
|
Public Member Functions | |
mock_buildRanges (int $total_count, int $page_limit) | |
mock_findCurrentPage (array $ranges, int $offset) | |
mocK_sliceRangesToVisibleEntries (array $ranges, int $current, int $number_of_visible_entries) | |
![]() | |
render (Component\Component $component, RendererInterface $default_renderer) | |
![]() | |
__construct (Factory $ui_factory, TemplateFactory $tpl_factory, ilLanguage $lng, JavaScriptBinding $js_binding, \ILIAS\Refinery\Factory $refinery, ImagePathResolver $image_path_resolver, DataFactory $data_factory) | |
registerResources (ResourceRegistry $registry) | |
Announce resources this renderer requires. More... | |
txt (string $id) | |
Get a text from the language file. More... | |
toJS ($key) | |
Add language var to client side (il.Language) More... | |
getLangKey () | |
Get current language key. More... | |
getImagePathResolver () | |
![]() | |
render (Component $component, Renderer $default_renderer) | |
Render the component if possible and delegate additional rendering to the default_renderer. More... | |
Additional Inherited Members | |
![]() | |
const | DEFAULT_DROPDOWN_LABEL = 'label_fieldselection' |
const | DEFAULT_BUTTON_LABEL = 'label_fieldselection_refresh' |
const | DEFAULT_SORTATION_DROPDOWN_LABEL = 'label_sortation' |
const | DEFAULT_DROPDOWN_LABEL_OFFSET = 'label_pagination_offset' |
const | DEFAULT_DROPDOWN_LABEL_LIMIT = 'label_pagination_limit' |
![]() | |
getComponentInterfaceName () | |
renderFieldSelection (FieldSelection $component, RendererInterface $default_renderer) | |
renderSortation (Sortation $component, RendererInterface $default_renderer) | |
buildRanges (int $total_count, int $page_limit) | |
findCurrentPage (array $ranges, int $offset) | |
sliceRangesToVisibleEntries (array $ranges, int $current, int $number_of_visible_entries) | |
renderPagination (Pagination $component, RendererInterface $default_renderer) | |
![]() | |
getUIFactory () | |
Get a UI factory. More... | |
getDataFactory () | |
getRefinery () | |
getJavascriptBinding () | |
getTemplate (string $name, bool $purge_unfilled_vars, bool $purge_unused_blocks) | |
Get template of component this renderer is made for. More... | |
getTemplatePath (string $name) | |
Get the path to the template of this component. More... | |
bindJavaScript (JavaScriptBindable $component) | |
Bind the component to JavaScript. More... | |
createId () | |
Get a fresh unique id. More... | |
checkComponent (Component $component) | |
Check if a given component fits this renderer and throw if that is not the case. More... | |
getComponentInterfaceName () | |
Get the name of the component-interface this renderer is supposed to render. More... | |
convertSpecialCharacters (string $value) | |
Definition at line 33 of file ViewControlPaginationTest.php.
VCPaginationRendererMock::mock_buildRanges | ( | int | $total_count, |
int | $page_limit | ||
) |
Definition at line 35 of file ViewControlPaginationTest.php.
References ILIAS\UI\Implementation\Component\Input\ViewControl\Renderer\buildRanges().
VCPaginationRendererMock::mock_findCurrentPage | ( | array | $ranges, |
int | $offset | ||
) |
Definition at line 39 of file ViewControlPaginationTest.php.
References ILIAS\UI\Implementation\Component\Input\ViewControl\Renderer\findCurrentPage().
VCPaginationRendererMock::mocK_sliceRangesToVisibleEntries | ( | array | $ranges, |
int | $current, | ||
int | $number_of_visible_entries | ||
) |
Definition at line 43 of file ViewControlPaginationTest.php.
References ILIAS\UI\Implementation\Component\Input\ViewControl\Renderer\sliceRangesToVisibleEntries().