[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/guzzlehttp/guzzle/src/ -> UriTemplate.php (summary)

(no description)

File Size: 237 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

UriTemplate:: (5 methods):
  expand()
  parseExpression()
  expandMatch()
  isAssoc()
  decodeReserved()


Class: UriTemplate  - X-Ref

Expands URI templates. Userland implementation of PECL uri_template.

expand($template, array $variables)   X-Ref
No description

parseExpression($expression)   X-Ref
Parse an expression into parts

param: string $expression Expression to parse
return: array Returns an associative array of parts

expandMatch(array $matches)   X-Ref
Process an expansion

param: array $matches Matches met in the preg_replace_callback
return: string Returns the replacement string

isAssoc(array $array)   X-Ref
Determines if an array is associative.

This makes the assumption that input arrays are sequences or hashes.
This assumption is a tradeoff for accuracy in favor of speed, but it
should work in almost every case where input is supplied for a URI
template.

param: array $array Array to check
return: bool

decodeReserved($string)   X-Ref
Removes percent encoding on reserved characters (used with + and #
modifiers).

param: string $string String to fix
return: string



Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1