apidoc
[ class tree: apidoc ] [ index: apidoc ] [ all elements ]

Class: URI_Template

Source Location: /URI_Template-0.2.0/Template.php

Class Overview


Parser for URI Templates


Author(s):

Methods


Inherited Variables

Inherited Methods


Class Details

[line 39]
Parser for URI Templates

This class implements parsing of URI Templates as defined in the IETF's URI Template draft.



[ Top ]


Method Detail

__construct (Constructor)   [line 51]

URI_Template __construct( string $template)

Constructor method
  • Access: public

Parameters:

string   $template   —  URI Template

[ Top ]

substitute   [line 63]

string substitute( array $values)

Substitutes template expansions in the URI template
  • Return: URI
  • Access: public

Parameters:

array   $values   —  Associative array with replacements for the variables in the expansions

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:19:34 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.