Filelib - PHP in Moodle
Filelib - PHP in Moodle
php
Function Name Description
Modifies the content of the uploaded file by
file_modify_html_header($text) adding html headers and giving some look and
feel to the uploaded file text.
byteserving_send_file($filename,
Send requested byte range of file.
$mimetype, $ranges)
get_mimetypes_array()
@return List of information about file
types based on extensions.
Useful Resources
http://docs.moodle.org/en/Development:Blocks
http://dev.moodle.org/mod/resource/view.php?id=48
http://docs.moodle.org/en/Development_talk:Blocks
Similarly for Modules
http://docs.moodle.org/en/Development:Modules