Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | List of all members
mod_forum\local\vaults\preprocessors\extract_context Class Reference

Extract context vault preprocessor. More...

Public Member Functions

 execute (array $records)
 Extract the contexts from a list of records. More...
 

Detailed Description

Extract context vault preprocessor.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ execute()

mod_forum\local\vaults\preprocessors\extract_context::execute ( array  $records)

Extract the contexts from a list of records.

Parameters
stdClass[]$recordsThe list of records which have context properties
Return values
context[]List of contexts matching the records.

The documentation for this class was generated from the following file: