Developer Documentation

Long Term Support Version

  • Bug fixes for general core bugs in 3.5.x ended May 2019 (12 months).
  • Bug fixes for security issues in 3.5.x will end 10 May 2021 (36 months).
  • minimum PHP 7.0.0 Note: minimum PHP version has increased since Moodle 3.3. PHP 7.1.x and 7.2.x are supported too. PHP 7.x could have some engine limitations.
  • /webservice/
    FolderUp one level  
    Fileexternallib.php [source] [277 lines]   external API for mobile web services
    Filelib.php         [source] [1737 lines]  Web services utility functions and classes
    Filepluginfile.php  [source] [63 lines]    A script to serve files from web service client
    Filerecaptcha.php   [source] [89 lines]    A script to display a ReCaptcha for the site.
    Filerenderer.php    [source] [837 lines]   
    Fileupload.php      [source] [164 lines]   Accept uploading files by web service token to the user draft file area. POST params: token => the web service user token (needed for authentication) filepath => file path (where files will be stored) [_FILES] => for example you can send the files with , or with curl magic: 'file_1' => '@/path/to/file', or ... itemid => The draftid - this can be used to add a list of files to a draft area in separate requests. If it is 0, a new draftid will be generated.
    Filewsdoc.php       [source] [93 lines]    Web services auto-generated documentation

    Search This Site: