Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
Extract user vault preprocessor. More...
Public Member Functions | |
__construct (string $idalias, string $alias) | |
Constructor. More... | |
execute (array $records) | |
Extract the user records from a list of DB records. More... | |
Extract user vault preprocessor.
Used to separate out the user record from a list of DB records that have been joined on the user table.
mod_forum\local\vaults\preprocessors\extract_user::__construct | ( | string | $idalias, |
string | $alias | ||
) |
Constructor.
string | $idalias | The alias for the id property of the user |
string | $alias | The prefix used for each of the user properties |
mod_forum\local\vaults\preprocessors\extract_user::execute | ( | array | $records | ) |
Extract the user records from a list of DB records.
stdClass[] | $records | The DB records |
stdClass[] | The list of extracted users |