Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
Files | |
file | api.php |
Api customfield package. | |
file | category.php |
Customfield category persistent class. | |
file | category_controller.php |
Customfield catecory controller class. | |
file | category_created.php |
Custom field category created event. | |
file | category_deleted.php |
Custom field category created event. | |
file | category_updated.php |
Custom field category updated event. | |
file | customfield_provider.php |
Contains interface customfield_provider. | |
file | data.php |
Data persistent class. | |
file | data_controller.php |
Customfield component data controller abstract class. | |
file | externallib.php |
External interface library for customfields component. | |
file | field.php |
Field persistent class. | |
file | field_config_form.php |
Customfield package. | |
file | field_controller.php |
Field controller abstract class. | |
file | field_created.php |
Custom field created event. | |
file | field_data.php |
core_customfield field value renderable. | |
file | field_deleted.php |
Custom field updated event. | |
file | field_updated.php |
Custom field updated event. | |
file | handler.php |
The abstract custom fields handler. | |
file | lib.php |
Customfield data generator. | |
file | lib.php |
Callbacks. | |
file | management.php |
Customfield component output. | |
file | provider.php |
Customfield component provider class. | |
file | renderer.php |
Renderer. | |
Namespaces | |
core_customfield | |
| |
core_customfield\event | |
| |
core_customfield\output | |
| |
core_customfield\privacy | |
| |
Functions | |
core_customfield_inplace_editable ($itemtype, $itemid, $newvalue) | |
Edit customfield elements inplace. More... | |
core_customfield_pluginfile ($course, $cm, $context, $filearea, $args, $forcedownload, array $options=array()) | |
Serve the files from the core_customfield file areas. More... | |
Variables | |
global | core_customfield::$CFG |
core_customfield_inplace_editable | ( | $itemtype, | |
$itemid, | |||
$newvalue | |||
) |
Edit customfield elements inplace.
string | $itemtype | |
int | $itemid | |
string | $newvalue |
core |
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 |