Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
|
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 |