PHP 클래스 System\input

Just another php framework
파일 보기 프로젝트 열기: anchorcms/anchor-cms

공개 프로퍼티들

프로퍼티 타입 설명
$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