Search moodle.org's
Developer Documentation


  • Bug fixes for general core bugs in 2.9.x ended 9 May 2016 (12 months).
  • Bug fixes for security issues in 2.9.x ended 14 November 2016 (18 months).
  • minimum PHP 5.4.4 (always use latest PHP 5.4.x or 5.5.x on Windows - http://windows.php.net/download/), PHP 7 is NOT supported
  • /webservice/
    FolderUp one level  
    Folderamf/
     
    Folderrest/
     
    Foldersoap/
     
    Foldertests/
     
    Folderxmlrpc/
     
    Fileexternallib.php [source] [318 lines]   external API for mobile web services
    Filelib.php         [source] [1794 lines]  Web services utility functions and classes
    Filepluginfile.php  [source] [57 lines]    A script to serve files from web service client
    Filerenderer.php    [source] [837 lines]   
    Fileupload.php      [source] [194 lines]   Accept uploading files by web service token POST params: token => the web service user token (needed for authentication) filepath => the private file aera 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 ... filearea => 'private' or 'draft' (default = 'private'). These are the only 2 areas we are allowing direct uploads via webservices. The private file area is deprecated - please don't use it. itemid => For draft areas this is 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. For private files, this is ignored.
    Filewsdoc.php       [source] [93 lines]    Web services auto-generated documentation

    Search This Site: