PHP Класс System\input

Just another php framework
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$array array Array or request vars

Открытые методы

Метод Описание
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

Описание методов

detect() публичный статический Метод

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

flash() публичный статический Метод

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

get() публичный статический Метод

Get a element or array of elements from the input array
public static get ( $key, $fallback = null ) : mixed
Результат mixed

get_array() публичный статический Метод

Get a array of elements from the input array
public static get_array ( $array, $fallback = null ) : array
Результат array

previous() публичный статический Метод

Get a element from the previous request input array
public static previous ( $key, $fallback = null ) : mixed
Результат mixed

Описание свойств

$array публичное статическое свойство

Array or request vars
public static array $array
Результат array