Línea 161... |
Línea 161... |
161 |
* "Custom fields data" will be used;
|
161 |
* "Custom fields data" will be used;
|
162 |
* the data id will be appended to the subcontext array.
|
162 |
* the data id will be appended to the subcontext array.
|
163 |
*/
|
163 |
*/
|
164 |
public static function export_customfields_data(approved_contextlist $contextlist, string $component, string $area,
|
164 |
public static function export_customfields_data(approved_contextlist $contextlist, string $component, string $area,
|
165 |
string $itemidstest = 'IS NOT NULL', string $instanceidstest = 'IS NOT NULL', array $params = [],
|
165 |
string $itemidstest = 'IS NOT NULL', string $instanceidstest = 'IS NOT NULL', array $params = [],
|
166 |
array $subcontext = null) {
|
166 |
?array $subcontext = null) {
|
167 |
global $DB;
|
167 |
global $DB;
|
Línea 168... |
Línea 168... |
168 |
|
168 |
|
169 |
// This query is very similar to api::get_instances_fields_data() but also works for multiple itemids
|
169 |
// This query is very similar to api::get_instances_fields_data() but also works for multiple itemids
|
170 |
// and has a context filter.
|
170 |
// and has a context filter.
|