- Built-in objects: These are predefined global and local objects that come with the system
- Custom objects: Objects that you create yourself to organize your theme’s data
Usage
Objects, along with their properties, are wrapped in curly brace delimiters{{ }}
.
For example, the all_courses
object contains a property called name
that can be used to output the name of a course.
Object access
The way that you access an object depends on the object and the context in which you want to access it. An object might be accessed in the following ways:- Globally: The object can be accessed directly in any theme file.
- In a template: The object can be accessed directly in specific templates, or in sections or blocks included in the template.
- Through a parent object: Many objects are returned by another object, or as a property of a parent object.
Creating custom objects
You can also create your own variables using variable tags. Variables are treated like objects syntactically.Available objects
Check detailed documentation for each object in the following sections:All Courses
Collection of all available courses
All Modules
Collection of all available modules
All Lessons
Collection of all available lessons
Last Watched Lessons
Last lessons watched by the current user
Club
Information about the members area
Course
Individual course details and properties
Module
Individual module details and properties
Lesson
Individual lesson details and properties
User Data
Current user’s interaction data
Custom Offer
Custom purchase offer details
Section
Section component details
Block
Block component details