Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Webiny
Component
Http
Request
Post
PHP Class Webiny\Component\Http\Request\Post
Inheritance:
use trait
Webiny\Component\StdLib\StdLibTrait
Afficher le fichier
Open project: Webiny/Framework
Class Usage Examples
Méthodes publiques
Méthode
Description
__construct
( )
Constructor.
get
(
string
$key
,
null
$value
= null ) :
string
Get the value from POST for the given $key.
getAll
( ) :
array
Returns a list of all POST values.
Method Details
__construct()
public
méthode
Constructor.
public
__construct
( )
get()
public
méthode
Get the value from POST for the given $key.
public
get
(
string
$key
,
null
$value
= null ) :
string
$key
string
Key name.
$value
null
Default value that will be returned if the $key is not found.
Résultat
string
Value under the defined $key.
getAll()
public
méthode
Returns a list of all POST values.
public
getAll
( ) :
array
Résultat
array