Bitrix Site Manager

CCourse

The CCourse class is used with training courses.
Method Description
GetList Returns a list of selected courses.
GetByID Returns the course fields by the course ID.
Add Adds a new course.
Update Modifies the course parameters.
Delete Deletes the specified course.
SetPermission Sets the access permissions for the training course.
GetPermission Sets the current user access permissions for the training course.
GetGroupPermissions Returns all access permissions for the training course.
IsHaveCourse Defines whether the current user has access permission to at least one course.
GetSite Returns a list of sites for the training course.
GetCourseContent Returns the list of active chapters and lessons (the course tree).
TimeToStr Takes seconds and converts the value into text.