PHP 인터페이스 eZ\Publish\Core\REST\Common\RequestParser

파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel 0 사용 예제들

공개 메소드들

메소드 설명
generate ( string $type, array $values = [] ) : string Generate a URL of the given type from the specified values.
parse ( string $url ) : array Parse URL and return the IDs contained in the URL.
parseHref ( string $href, string $attribute ) : mixed | false Tries to match $href as a route, and returns the value of $attribute from the result.

메소드 상세

generate() 공개 메소드

Generate a URL of the given type from the specified values.
public generate ( string $type, array $values = [] ) : string
$type string
$values array
리턴 string

parse() 공개 메소드

Parse URL and return the IDs contained in the URL.
public parse ( string $url ) : array
$url string
리턴 array

parseHref() 공개 메소드

Tries to match $href as a route, and returns the value of $attribute from the result.
public parseHref ( string $href, string $attribute ) : mixed | false
$href string
$attribute string
리턴 mixed | false