Developer Documentation

  • Bug fixes for general core bugs in 2.8.x ended 9 November 2015 (12 months).
  • Bug fixes for security issues in 2.8.x ended 9 May 2016 (18 months).
  • minimum PHP 5.4.4 (always use latest PHP 5.4.x or 5.5.x on Windows -, PHP 7 is NOT supported
  • Differences Between: [Versions 28 and 32] [Versions 28 and 33] [Versions 28 and 34] [Versions 28 and 35] [Versions 28 and 36] [Versions 28 and 37]

    Edit a calculated grade item

    Copyright: 2007 Petr Skoda
    License: GNU GPL v3 or later
    File Size: 220 lines (8 kb)
    Included or required:0 times
    Referenced: 0 times
    Includes or requires: 1 file

    Defines 1 function

    Functions that are not part of a class:

    get_grade_tree(&$gtree, $element, $current_itemid=null, $errors=null)   X-Ref
    Simplified version of the print_grade_tree() recursive function found in grade/edit/tree/index.php
    Only prints a tree with a basic icon for each element, and an edit field for
    items without an idnumber.

    return: string
    param: object $gtree
    param: object $element
    param: int $current_itemid The itemid of this page: should be excluded from the tree
    param: array $errors An array of idnumbers => error

    Search This Site: