PHP Class Zaphpa_Template, zaphpa

Show file Open project: zaphpa/zaphpa Class Usage Examples

Public Methods

Method Description
__construct ( $path )
addGlobalQueryParam ( $name, $pattern = '', $defaultValue = null )
addQueryParam ( $name, $pattern = '', $defaultValue = null )
getExpression ( )
getTemplate ( )
match ( $uri )
pattern ( $token, $pattern = null )
regex ( $pattern )

Method Details

__construct() public method

public __construct ( $path )

addGlobalQueryParam() public static method

public static addGlobalQueryParam ( $name, $pattern = '', $defaultValue = null )

addQueryParam() public method

public addQueryParam ( $name, $pattern = '', $defaultValue = null )

getExpression() public method

public getExpression ( )

getTemplate() public method

public getTemplate ( )

match() public method

public match ( $uri )

pattern() public method

public pattern ( $token, $pattern = null )

regex() public static method

public static regex ( $pattern )