fetch_avail_vals: Fetch user values for availability requirements

Description Usage Arguments Details Value

Description

Given a set of availability conditions, lookup users' values that can be later used to evaluate whether those conditions were met.

Usage

1

Arguments

pointer

An environment that will hold the information. The environment must have a symbol reqs that is a list of availability requirements from extract_avail.

...

Potential future args.

con

A database connection object, using the session connection by default.

Details

Each Moodle component has its own types of requirements for completion. Evaluating availability conditions requires support for each type of component and a variety of condition operators. The following condition operators are supported: &, |, !&, !|. The following components are supported: completion, grade, group, grouping, profile, and role. The date component still needs to be incorporated.

Value

No return value. Changes are made to pointer.


TheFridayInstitute/fimoodler documentation built on May 28, 2019, 9:37 a.m.