Import
in
Iterface for importing request data.
Tags
Table of Contents
- getValue() : mixed
- Get the current value.
- import() : mixed
- Import the new value based on the request and return the current value;.
- setValue() : mixed
- Set the (default) value.
Methods
getValue()
Get the current value.
public
getValue() : mixed
Return values
mixed —import()
Import the new value based on the request and return the current value;.
public
import([mixed &$error = null ][, mixed $request = null ]) : mixed
Parameters
- $error : mixed = null
-
Contains the error code(s) in ALL_CAPS
- $request : mixed = null
-
Allow overwriting the default $_REQUEST
Return values
mixed —The (updated) value
setValue()
Set the (default) value.
public
setValue(mixed $value) : mixed
Parameters
- $value : mixed