PHP 클래스 Scalr\UI\Request\JsonData

Convert input json string to array object
부터: 5.0.0 (19.06.2014)
저자: Igor Vodiasov ([email protected])
상속: extends ArrayObjec\ArrayObject, implements Scalr\UI\Request\ObjectInitializingInterface
파일 보기 프로젝트 열기: scalr/scalr 1 사용 예제들

공개 메소드들

메소드 설명
has ( mixed $needle, boolean $strict = false ) : boolean Checks if a value exists in an array
initFromRequest ( $value, $name = '' ) : JsonData
search ( mixed $needle, boolean $strict = false ) : mixed Searches the array for a given value and returns the corresponding key if successful

메소드 상세

has() 공개 메소드

Checks if a value exists in an array
public has ( mixed $needle, boolean $strict = false ) : boolean
$needle mixed A value
$strict boolean optional If it is set to TRUE then function will also check the types of the needle in the haystack.
리턴 boolean Returns TRUE if needle is found in the array, FALSE otherwise.

initFromRequest() 공개 정적인 메소드

또한 보기: ObjectInitializingInterface::initFromRequest()
public static initFromRequest ( $value, $name = '' ) : JsonData
리턴 JsonData