Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
file_storage Member List

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_storageprotected
can_convert_documents()file_storagestatic
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_storageprotected
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_storageprotected
create_imagefile_preview(stored_file $file, $mode)file_storageprotected
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_storagestatic
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_storagestatic
hash_from_string($content)file_storagestatic
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_storageprotected
mimetype($fullpath, $filename=null)file_storagestatic
mimetype_from_file($fullpath)file_storagestatic
move_area_files_to_new_context($oldcontextid, $newcontextid, $component, $filearea, $itemid=false)file_storage
pack_reference($params)file_storagestatic
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_storagestatic
setup_file_system()file_storage
sort_area_tree($tree)file_storageprotected
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_storagestatic
try_content_recovery($file)file_storage
unpack_reference($str, $cleanparams=false)file_storagestatic
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