Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-43228

Coding style: $grade_item, $grade_items, $grade_category, $grade_grade, $grade_grades

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.6
    • Fix Version/s: None
    • Component/s: Policy
    • Labels:
      None

      Description

      There are 1050 instances of $grade_item in the code. Rename it to $gradeitem as per our coding style.
      Other are less common:

         1050 $grade_item      -> $gradeitem
          341 $grade_category  -> $gradecategory
          210 $grade_grade     -> $gradegrade
          110 $grade_items     -> $gradeitems
           65 $grade_grades    -> $gradegrades
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              tmuras Tomasz Muras
              Participants:
              Component watchers:
              Adrian Greeve, Andrew Nicols, Eloy Lafuente (stronk7), Juan Leyva, Jun Pataleta, Sander Bangma
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: