PHP 클래스 r\DatumConverter

파일 보기 프로젝트 열기: danielmewes/php-rql 1 사용 예제들

공개 메소드들

메소드 설명
canEncodeAsJson ( $v )
decodedJSONToDatum ( $json ) ------------- Helpers -------------
nativeToDatum ( $v )
nativeToDatumOrFunction ( $f, $wrapImplicit = true )
nativeToFunction ( $f )
tryEncodeAsJson ( $v )
wrapImplicitVar ( r\Query $q )

메소드 상세

canEncodeAsJson() 공개 메소드

public canEncodeAsJson ( $v )

decodedJSONToDatum() 공개 정적인 메소드

------------- Helpers -------------
public static decodedJSONToDatum ( $json )

nativeToDatum() 공개 메소드

public nativeToDatum ( $v )

nativeToDatumOrFunction() 공개 메소드

public nativeToDatumOrFunction ( $f, $wrapImplicit = true )

nativeToFunction() 공개 메소드

public nativeToFunction ( $f )

tryEncodeAsJson() 공개 메소드

public tryEncodeAsJson ( $v )

wrapImplicitVar() 공개 메소드

public wrapImplicitVar ( r\Query $q )
$q r\Query