Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Webiny
Component
Http
Request
Post
PHP Class Webiny\Component\Http\Request\Post
Inheritance:
use trait
Webiny\Component\StdLib\StdLibTrait
Datei anzeigen
Open project: Webiny/Framework
Class Usage Examples
Public Methods
Method
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
method
Constructor.
public
__construct
( )
get()
public
method
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.
return
string
Value under the defined $key.
getAll()
public
method
Returns a list of all POST values.
public
getAll
( ) :
array
return
array