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

Add json_encode and json_decode function definitions for PHP4

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7.5, 1.8.6, 1.9.2
    • Fix Version/s: 1.8.7, 1.9.3
    • Component/s: JavaScript
    • Labels:
      None
    • Affected Branches:
      MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      The PHP5 functions json_encode and json_decode are very useful for writing PHP callback files to use with AJAX requests. The PEAR SERVICES_JSON package has been added to Moodle, but it would be useful to have function calls "faking" the PHP5 functions when a lower PHP version is on the server.

        Attachments

          Activity

            People

            • Assignee:
              nicolasconnault Nicolas Connault
              Reporter:
              nicolasconnault Nicolas Connault
              Tester:
              Dongsheng Cai
              Participants:
              Component watchers:
              Jake Dallimore, Jun Pataleta, Ryan Wyllie
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                15/Oct/08