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.


Top ↑

Return Return

(boolean) Always returns false.


Top ↑

Source Source

File: includes/processors/class.llms.processor.course.data.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
4.16.0 Fix log string to properly log the course id.
4.12.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.