Skip to content

KioskMode: enhanced docu (#23574) and fixed param to TOCBuilder - #1202

Merged
klees merged 2 commits into
ILIAS-eLearning:trunkfrom
klees:trunk_kiosk_docu
Oct 12, 2018
Merged

klees merged 2 commits into
ILIAS-eLearning:trunkfrom
klees:trunk_kiosk_docu

Conversation

@klees

@klees klees commented Oct 4, 2018

Copy link
Copy Markdown
Contributor

Some clarifications in the docu according to https://mantis.ilias.de/view.php?id=23574.

I also removed a bogus parameter to TOCBuilder::end. Although this change is minor, this is also a breaking change, thus I'll add this to JF-agenda.

klees added 2 commits October 4, 2018 13:15
`end` will have no visual representation in a table of contents and just marks
the end of a node. Hence it can't use any command.
@klees klees self-assigned this Oct 4, 2018
@klees klees added the jour fixe label Oct 4, 2018
@klees
klees requested a review from mjansenDatabay October 4, 2018 11:31
@mjansenDatabay

Copy link
Copy Markdown
Contributor

I still don't get the $parameter parameter: The $parameter can be used to pass additional information.

Why is this an integer? Let's suppose I will build a next control... $ctrlBuilder->next('MyCommand', 5);. I currently can't imagine why a view should pass an integer here?

@klees

klees commented Oct 4, 2018

Copy link
Copy Markdown
Contributor Author

Maybe you already want to encode the next chapter in the "next"-control. Then you might just set the parameter to the index of the chapter. This is just a convenience, you could get the same effect by using the state. If you think it is useless, we also might remove it completely. Maybe my problems explaining the purpose to you implies just that =)

@matthiaskunkel

Copy link
Copy Markdown
Member

Jour Fixe, 08 OCT 2018 : We accept this PR for 5.4.

@klees
klees merged commit dd91245 into ILIAS-eLearning:trunk Oct 12, 2018
@klees
klees deleted the trunk_kiosk_docu branch October 5, 2020 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants