Differences Between: [Versions 400 and 402] [Versions 400 and 403]
(no description)
File Size: | 135 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
block_html_pluginfile($course, $birecord_or_cm, $context, $filearea, $args, $forcedownload, array $options=array() X-Ref |
Form for editing HTML block instances. return: bool param: stdClass $course course object param: stdClass $birecord_or_cm block instance record param: stdClass $context context object param: string $filearea file area param: array $args extra arguments param: bool $forcedownload whether or not force download param: array $options additional options affecting the file serving |
block_html_global_db_replace($search, $replace) X-Ref |
Perform global search replace such as when migrating site to new URL. return: void param: $search param: $replace |
block_html_get_path_from_pluginfile(string $filearea, array $args) X-Ref |
Given an array with a file path, it returns the itemid and the filepath for the defined filearea. return: array The itemid and the filepath inside the $args path, for the defined filearea. param: string $filearea The filearea. param: array $args The path (the part after the filearea and before the filename). |