Developer Documentation

  • Bug fixes for general core bugs in 3.11.x will end 9 May 2022 (12 months).
  • Bug fixes for security issues in 3.11.x will end 14 November 2022 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.
  • /badges/
    FolderUp one level  
    Fileaction.php              [source] [134 lines]   Page to handle actions associated with badges management.
    Fileajax.php                [source] [48 lines]    Sends request to check web site availability.
    Filealignment.php           [source] [109 lines]   List alignments, skills, or standards are targeted by a BadgeClass.
    Filealignment_action.php    [source] [41 lines]    Processing actions with alignments.
    Filealignment_form.php      [source] [94 lines]    Form alignment for editing.
    Fileassertion.php           [source] [66 lines]    Serve assertion JSON by unique hash of issued badge
    Fileaward.php               [source] [219 lines]   Handle manual badge award.
    Filebackpack-add.php        [source] [156 lines]   Optionally award a badge and redirect to the my badges page.
    Filebackpack-connect.php    [source] [63 lines]    Connect to backpack site.
    Filebackpack-export.php     [source] [63 lines]    Export badges to the backpack site.
    Filebackpackemailverify.php [source] [83 lines]    Endpoint for the verification email link.
    Filebackpacks.php           [source] [117 lines]   Display a list of badge backpacks for the site.
    Filebadge.php               [source] [90 lines]    Display details of an issued badge with criteria and evidence
    Filebadge_json.php          [source] [126 lines]   Serve BadgeClass JSON for related badge.
    Filecriteria.php            [source] [108 lines]   Editing badge details, criteria, messages
    Filecriteria_action.php     [source] [93 lines]    Processing actions with badge criteria.
    Filecriteria_form.php       [source] [106 lines]   Form classes for editing badges criteria
    Filecriteria_settings.php   [source] [111 lines]   Page for editing badges criteria settings.
    Fileedit.php                [source] [162 lines]   Editing badge details, criteria, messages
    Fileendorsement.php         [source] [104 lines]   Endorsement information
    Fileendorsement_form.php    [source] [97 lines]    Form endorsement for editing.
    Fileendorsement_json.php    [source] [69 lines]    Serve endorsement JSON for assertion.
    Fileexternal.php            [source] [105 lines]   Display details of an issued badge with criteria and evidence
    Fileimage_author_json.php   [source] [52 lines]    Serve profile image author JSON for assertion.
    Fileindex.php               [source] [197 lines]   Page for badges management
    Fileissuer_json.php         [source] [54 lines]    Serve Issuer JSON for related badge or default Issuer if no badge is defined.
    Filelib.php                 [source] [75 lines]    Defines various library functions.
    Filemybackpack.php          [source] [159 lines]   User backpack settings page.
    Filemybadges.php            [source] [119 lines]   Displays user badges for badges management in own profile
    Filenewbadge.php            [source] [131 lines]   First step page for creating a new badge
    Fileoverview.php            [source] [80 lines]    Badge overview page
    Filepreferences.php         [source] [66 lines]    Badges user preferences page.
    Filepreferences_form.php    [source] [47 lines]    Form class for editing badges preferences.
    Filerecipients.php          [source] [114 lines]   Badge awards information
    Filerelated.php             [source] [106 lines]   Related badges information
    Filerelated_action.php      [source] [42 lines]    Action related badges.
    Filerelated_form.php        [source] [110 lines]   Form related badges.
    Filerenderer.php            [source] [1389 lines]  Renderer for use with the badges output
    Fileupgradelib.php          [source] [52 lines]    Contains upgrade and install functions for badges.
    Fileview.php                [source] [140 lines]   Displays available badges to a user