|
Moodle PHP Documentation 4.4
Moodle 4.4.9+ (Build: 20250711) (4ea86454947)
|
Namespaces | |
| namespace | core_customfield |
| | |
| namespace | core_customfield\event |
| | |
| namespace | core_customfield\output |
| | |
| namespace | core_customfield\privacy |
| | |
Functions | |
| core_customfield_inplace_editable ($itemtype, $itemid, $newvalue) | |
| Edit customfield elements inplace. | |
| core_customfield_pluginfile ($course, $cm, $context, $filearea, $args, $forcedownload, array $options=array()) | |
| Serve the files from the core_customfield file areas. | |
| core_customfield_inplace_editable | ( | $itemtype, | |
| $itemid, | |||
| $newvalue ) |
Edit customfield elements inplace.
| string | $itemtype | |
| int | $itemid | |
| string | $newvalue |
| core\output\inplace_editable |
| core_customfield_pluginfile | ( | $course, | |
| $cm, | |||
| $context, | |||
| $filearea, | |||
| $args, | |||
| $forcedownload, | |||
| array | $options = array() ) |
Serve the files from the core_customfield file areas.
| stdClass | $course | the course object |
| stdClass | $cm | the course module object |
| context | $context | the context |
| string | $filearea | the name of the file area |
| array | $args | extra arguments (itemid, path) |
| bool | $forcedownload | whether or not force download |
| array | $options | additional options affecting the file serving |
| bool | false if the file not found, just send the file otherwise and do not return |