Developer Documentation

Long Term Support Release

  • Bug fixes for general core bugs in 3.9.x will end* 10 May 2021 (12 months).
  • Bug fixes for security issues in 3.9.x will end* 8 May 2023 (36 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are 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] [97 lines]    Optionally award a badge and redirect to the my badges page.
    Filebackpack-connect.php    [source] [58 lines]    Connect to backpack site.
    Filebackpack-export.php     [source] [62 lines]    Export badges to the backpack site.
    Filebackpackemailverify.php [source] [81 lines]    Endpoint for the verification email link.
    Filebackpacks.php           [source] [102 lines]   Display a list of badge backpacks for the site.
    Filebadge.php               [source] [93 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] [198 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] [165 lines]   User backpack settings page.
    Filemybadges.php            [source] [122 lines]   Displays user badges for badges management in own profile
    Filenewbadge.php            [source] [133 lines]   First step page for creating a new badge
    Fileoauth2callback.php      [source] [57 lines]    Verify authorization callback.
    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] [113 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] [1402 lines]  Renderer for use with the badges output
    Fileupgradelib.php          [source] [55 lines]    Contains upgrade and install functions for badges.
    Fileview.php                [source] [140 lines]   Displays available badges to a user

    Search This Site: