PHP 클래스 Neos\Flow\Http\UriTemplate

파일 보기 프로젝트 열기: neos/flow-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$delimiters array
$encodedDelimiters array
$operators array
$variables array

공개 메소드들

메소드 설명
expand ( string $template, array $variables ) : string Expand the template string using the supplied variables

보호된 메소드들

메소드 설명
decodeReservedDelimiters ( string $string ) : string Decodes percent encoding on delimiters (used with + and # modifiers)
encodeArrayVariable ( array $variable, array $value, string $operator, string $separator, &$useQueryString ) : string Encode arrays for use in the expanded URI string
expandMatch ( array $matches ) : string Process an expansion
isAssociative ( array $array ) : boolean Determines if an array is associative, i.e. contains at least one key that is a string.
parseExpression ( string $expression ) : array Parse an expression into parts

메소드 상세

decodeReservedDelimiters() 보호된 정적인 메소드

Decodes percent encoding on delimiters (used with + and # modifiers)
protected static decodeReservedDelimiters ( string $string ) : string
$string string
리턴 string

encodeArrayVariable() 보호된 정적인 메소드

Encode arrays for use in the expanded URI string
protected static encodeArrayVariable ( array $variable, array $value, string $operator, string $separator, &$useQueryString ) : string
$variable array
$value array
$operator string
$separator string
$useQueryString
리턴 string

expand() 공개 정적인 메소드

Expand the template string using the supplied variables
public static expand ( string $template, array $variables ) : string
$template string URI template to expand
$variables array variables to use with the expansion
리턴 string

expandMatch() 보호된 정적인 메소드

Process an expansion
protected static expandMatch ( array $matches ) : string
$matches array matches found in preg_replace_callback
리턴 string replacement string

isAssociative() 보호된 정적인 메소드

Determines if an array is associative, i.e. contains at least one key that is a string.
protected static isAssociative ( array $array ) : boolean
$array array
리턴 boolean

parseExpression() 보호된 정적인 메소드

Parse an expression into parts
protected static parseExpression ( string $expression ) : array
$expression string Expression to parse
리턴 array associative array of parts

프로퍼티 상세

$delimiters 보호되어 있는 정적으로 프로퍼티

protected static array $delimiters
리턴 array

$encodedDelimiters 보호되어 있는 정적으로 프로퍼티

protected static array $encodedDelimiters
리턴 array

$operators 보호되어 있는 정적으로 프로퍼티

protected static array $operators
리턴 array

$variables 보호되어 있는 정적으로 프로퍼티

protected static array $variables
리턴 array