.

IUrlBuilder Interface Reference
[Interfaces]

Interface for classes that can create URLs. More...

Inheritance diagram for IUrlBuilder:
ILink RouteBase CatchAllRoute ExactMatchRoute NotFoundRoute ParameterizedRoute StaticPageRoute CommandsRoute StaticPageParamterizedRoute

List of all members.

Public Member Functions

  build_url ($absolute_or_relative, $params=null)
  Build the URL.

Public Attributes

const  ABSOLUTE = true
const  RELATIVE = false

Detailed Description

Interface for classes that can create URLs.

Author:
Gerd Riesselmann

Definition at line 8 of file iurlbuilder.cls.php.


Member Function Documentation

IUrlBuilder::build_url ( absolute_or_relative,
params = null  
)

Build the URL.

Parameters:
bool  $absolute_or_relative True to build an absolute URL, false to return path only
mixed  $params Further parameters to use to build URL

Implemented in RouteBase.


Member Data Documentation

Definition at line 9 of file iurlbuilder.cls.php.

Definition at line 10 of file iurlbuilder.cls.php.


The documentation for this interface was generated from the following file: