Skip to content

Commit d46f10a

Browse files
committed
docs: fix incorrect descriptions
getVar() does not return POST items.
1 parent ed117dc commit d46f10a

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎user_guide_src/source/incoming/incomingrequest.rst‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -378,15 +378,15 @@ The methods provided by the parent classes that are available are:
378378

379379
.. literalinclude:: incomingrequest/028.php
380380

381-
To return an array of all POST items call without any parameters.
381+
To return an array of all REQUEST items call without any parameters.
382382

383-
To return all POST items and pass them through the filter, set the
383+
To return all REQUEST items and pass them through the filter, set the
384384
first parameter to null while setting the second parameter to the filter
385385
you want to use:
386386

387387
.. literalinclude:: incomingrequest/029.php
388388

389-
To return an array of multiple POST parameters, pass all the required keys as an array:
389+
To return an array of multiple REQUEST parameters, pass all the required keys as an array:
390390

391391
.. literalinclude:: incomingrequest/030.php
392392

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?php
22

33
$request->getVar(null, FILTER_SANITIZE_FULL_SPECIAL_CHARS);
4-
// returns all POST items with string sanitation
4+
// returns all REQUEST items with string sanitation

0 commit comments

Comments
 (0)