Course
The course steps mapper.
Description #
Source #
Changelog #
Version | Description |
---|---|
4.6.0 | Introduced. |
Methods #
- __construct — Constructor.
- add_sections — Inserts sections into steps.
- add_sub_steps — Gets steps for the given lessons.
- all — Gets all steps.
- get_contents — Returns the contents.
- get_sub_steps — Gets sub steps for the given step.
- paginated — Maps the steps for the given page.
- to_step — Maps the current model to a step.
- total — Returns the total number of direct steps.
- with_sections — If called, the mapper will include sections in the steps.
- without_sections — If called, the mapper will not include sections in the steps.