Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
|
This is the complete list of members for file_storage, including all inherited members.
__construct() | file_storage | |
add_file_to_pool($pathname, $contenthash=null, $newrecord=null) | file_storage | |
add_string_to_pool($content, $newrecord=null) | file_storage | |
call_before_file_created_plugin_functions($newrecord, $pathname=null, $content=null) | file_storage | protected |
can_convert_documents() | file_storage | static |
content_exists($contenthash) | file_storage | |
convert_image($filerecord, $fid, $newwidth=null, $newheight=null, $keepaspectratio=true, $quality=null) | file_storage | |
create_directory($contextid, $component, $filearea, $itemid, $filepath, $userid=null) | file_storage | |
create_file($newrecord) | file_storage | protected |
create_file_from_pathname($filerecord, $pathname) | file_storage | |
create_file_from_reference($filerecord, $repositoryid, $reference, $options=array()) | file_storage | |
create_file_from_storedfile($filerecord, $fileorid) | file_storage | |
create_file_from_string($filerecord, $content) | file_storage | |
create_file_from_url($filerecord, $url, array $options=null, $usetempfile=false) | file_storage | |
create_file_preview(stored_file $file, $mode) | file_storage | protected |
create_imagefile_preview(stored_file $file, $mode) | file_storage | protected |
cron() | file_storage | |
delete_area_files($contextid, $component=false, $filearea=false, $itemid=false) | file_storage | |
delete_area_files_select($contextid, $component, $filearea, $itemidstest, array $params=null) | file_storage | |
delete_component_files($component) | file_storage | |
file_exists($contextid, $component, $filearea, $itemid, $filepath, $filename) | file_storage | |
file_exists_by_hash($pathnamehash) | file_storage | |
get_area_files($contextid, $component, $filearea, $itemid=false, $sort="itemid, filepath, filename", $includedirs=true, $updatedsince=0, $limitfrom=0, $limitnum=0) | file_storage | |
get_area_tree($contextid, $component, $filearea, $itemid) | file_storage | |
get_converted_document(stored_file $file, $format, $forcerefresh=false) | file_storage | |
get_directory_files($contextid, $component, $filearea, $itemid, $filepath, $recursive=false, $includedirs=true, $sort="filepath, filename") | file_storage | |
get_external_files($repositoryid, $sort='') | file_storage | |
get_file($contextid, $component, $filearea, $itemid, $filepath, $filename) | file_storage | |
get_file_by_hash($pathnamehash) | file_storage | |
get_file_by_id($fileid) | file_storage | |
get_file_instance(stdClass $filerecord) | file_storage | |
get_file_preview(stored_file $file, $mode) | file_storage | |
get_file_system() | file_storage | |
get_pathname_hash($contextid, $component, $filearea, $itemid, $filepath, $filename) | file_storage | static |
get_references_by_storedfile(stored_file $storedfile) | file_storage | |
get_references_count_by_storedfile(stored_file $storedfile) | file_storage | |
get_unused_dirname($contextid, $component, $filearea, $itemid, $suggestedpath) | file_storage | |
get_unused_filename($contextid, $component, $filearea, $itemid, $filepath, $filename) | file_storage | |
get_user_draft_items(int $userid, int $updatedsince=0, int $lastnum=0) | file_storage | |
hash_from_path($filepath) | file_storage | static |
hash_from_string($content) | file_storage | static |
import_external_file(stored_file $storedfile, $maxbytes=0) | file_storage | |
is_area_empty($contextid, $component, $filearea, $itemid=false, $ignoredirs=true) | file_storage | |
is_format_supported_by_unoconv($format) | file_storage | protected |
mimetype($fullpath, $filename=null) | file_storage | static |
mimetype_from_file($fullpath) | file_storage | static |
move_area_files_to_new_context($oldcontextid, $newcontextid, $component, $filearea, $itemid=false) | file_storage | |
pack_reference($params) | file_storage | static |
search_references($reference) | file_storage | |
search_references_count($reference) | file_storage | |
search_server_files($query, $from=0, $limit=20, $count=false) | file_storage | |
send_test_pdf() | file_storage | static |
setup_file_system() | file_storage | |
sort_area_tree($tree) | file_storage | protected |
supports_xsendfile() | file_storage | |
synchronise_stored_file_from_file(stored_file $file, $path, $filerecord) | file_storage | |
synchronise_stored_file_from_string(stored_file $file, $content, $filerecord) | file_storage | |
test_unoconv_path() | file_storage | static |
try_content_recovery($file) | file_storage | |
unpack_reference($str, $cleanparams=false) | file_storage | static |
update_references($referencefileid, $lastsync, $lifetime, $contenthash, $filesize, $status, $timemodified=null) | file_storage | |
update_references_to_storedfile(stored_file $storedfile) | file_storage | |
xsendfile($contenthash) | file_storage | |
xsendfile_file(stored_file $file) | file_storage |