Url Interface

category Core
package Formaid
author Dieter Adriaenssens
copyright 2006-2013 Dieter Adriaenssens
license GPL
link http://formaid.sourceforge.net/

 Methods

Add URL parameter

addUrlParameter(object $urlParameter) : void

Parameters

$urlParameter

object

Url parameter object

Add URL parameters as array.

addUrlParameters(array $urlParameters) : void

It takes both value-key pair arrays (parameter name and value) as well as an array of UrlParameter instances.

Parameters

$urlParameters

array

UrlParameter names and values, or objects

Get URL

getUrl() : string

Returns

stringUrl

Sets an anchor

setAnchor(string $anchor) : void

Parameters

$anchor

string

Anchor name

Sets the path name

setPath(string $path) : void

Parameters

$path

string

Path name