This interface describes an input provider.
getParameter(string $strKey, bool $blnRaw) : mixed
string
The name of the parameter to be retrieved.
bool
Boolean flag to determine if the content shall be returned RAW or rather be stripped of potential malicious content.
mixed
getPersistentValue(string $strKey) : mixed
deprecated | Use Environment::getSessionStorage()->get() instead. |
---|
string
The name of the value to be retrieved.
mixed
getRequestUrl() : string
string
getValue(string $strKey, bool $blnRaw) : mixed
string
The name of the value to be retrieved.
bool
Boolean flag to determine if the content shall be returned RAW or rather be stripped of potential malicious content.
mixed
hasParameter(string $strKey) : bool
string
The name of the parameter to be checked.
bool
hasPersistentValue(string $strKey) : bool
deprecated | Use Environment::getSessionStorage()->has() instead. |
---|
string
The name of the value to be checked.
bool
hasValue(string $strKey) : bool
string
The name of the value to be checked.
bool
setParameter(string $strKey, mixed $varValue) : \ContaoCommunityAlliance\DcGeneral\InputProviderInterface
string
The name of the parameter to be stored.
mixed
The value to be stored.
setPersistentValue(string $strKey, mixed $varValue) : \ContaoCommunityAlliance\DcGeneral\InputProviderInterface
deprecated | Use Environment::getSessionStorage()->set() instead. |
---|
string
The name of the value to be stored.
mixed
The value to be stored.
setValue(string $strKey, mixed $varValue) : \ContaoCommunityAlliance\DcGeneral\InputProviderInterface
string
The name of the value to be stored.
mixed
The value to be stored.
unsetParameter(string $strKey) : \ContaoCommunityAlliance\DcGeneral\InputProviderInterface
string
The name of the parameter to be removed.
unsetValue(string $strKey) : \ContaoCommunityAlliance\DcGeneral\InputProviderInterface
string
The name of the value to be removed.