LLMS_Processor_Course_Data::task_complete( LLMS_Course $course, array $data, boolean $last_page )
Complete a task
Description Description
Stores the current (incomplete) array of course data on the postmeta table for use by the next task in the queue.
Upon completion, uses the data array to calculate the final aggregate values and store them on the postmeta table for the course for quick retrieval later.
Parameters Parameters
- $course
-
(Required) Course object.
- $data
-
(Required) Aggregate calculation data array.
- $last_page
-
(Required) Whether or not this is the last page set of students for the process.
Return Return
(boolean) Always returns false.
Source Source
File: includes/processors/class.llms.processor.course.data.php
Changelog Changelog
Version | Description |
---|---|
4.16.0 | Fix log string to properly log the course id. |
4.12.0 | Introduced. |