PHP Class System\input

Just another php framework
Datei anzeigen Open project: anchorcms/anchor-cms

Public Properties

Property Type Description
$array array Array or request vars

Public Methods

Method Description
detect ( $method ) Try and collect the request input determinded by the request method
flash ( ) Save the input array for the next request
get ( $key, $fallback = null ) : mixed Get a element or array of elements from the input array
get_array ( $array, $fallback = null ) : array Get a array of elements from the input array
previous ( $key, $fallback = null ) : mixed Get a element from the previous request input array

Method Details

detect() public static method

Try and collect the request input determinded by the request method
public static detect ( $method )

flash() public static method

Save the input array for the next request
public static flash ( )

get() public static method

Get a element or array of elements from the input array
public static get ( $key, $fallback = null ) : mixed
return mixed

get_array() public static method

Get a array of elements from the input array
public static get_array ( $array, $fallback = null ) : array
return array

previous() public static method

Get a element from the previous request input array
public static previous ( $key, $fallback = null ) : mixed
return mixed

Property Details

$array public_oe static_oe property

Array or request vars
public static array $array
return array