moodle / devdocs

Source of the Moodle Developer Resources and Documentation

Home Page:https://moodledev.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[docs] Lack of information about $_GET, $_POST, $_REQUEST, $_COOKIE, and $_SESSION variables

jboulen opened this issue · comments

What is the URL of the page?

https://moodledev.io/general/development/process/peer-review#syntax

What is the issue with this page?

Documentation indicates:

$_GET, $_POST, $_REQUEST, $_COOKIE, and $_SESSION are never used.

But nowhere documentation explains what to do instead.
For $_GET, $_POST and $_REQUEST, we can probably refer to this page.

Also, maybe some superglobals are missing in this list (eg: $_FILES and $_ENV).

Are you able to provide a patch for this?

None