Description Usage Arguments Details Value
Given a set of availability conditions, lookup users' values that can be later used to evaluate whether those conditions were met.
1 | fetch_avail_vals(pointer, ..., con = get_session_con())
|
pointer |
An environment that will hold the information. The
environment must have a symbol |
... |
Potential future args. |
con |
A database connection object, using the session connection by default. |
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.
No return value. Changes are made to pointer
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.