Jelix 1.6.37

jUrlBase
in package

base class for jUrl and jUrlAction

Tags
subpackage

core_url

author

Laurent Jouanneau

copyright

2005-2006 Laurent Jouanneau

Table of Contents

$params  : mixed
parameters
__toString()  : mixed
magic method for echo and others.
clearParam()  : mixed
Clear parameters
delParam()  : mixed
delete a parameter
getParam()  : string
get a parameter value
setParam()  : mixed
add or change the value of a parameter
toString()  : string
get the url string corresponding to the url/action

Properties

Methods

__toString()

magic method for echo and others.

public __toString() : mixed

..

Return values
mixed

clearParam()

Clear parameters

public clearParam() : mixed
Return values
mixed

delParam()

delete a parameter

public delParam(string $name) : mixed
Parameters
$name : string

parameter name

Return values
mixed

getParam()

get a parameter value

public getParam(string $name[, string $defaultValue = null ]) : string
Parameters
$name : string

parameter name

$defaultValue : string = null

the default value returned if the parameter doesn't exists

Return values
string

the value

setParam()

add or change the value of a parameter

public setParam(string $name, string $value) : mixed
Parameters
$name : string

parameter name

$value : string

parameter value

Return values
mixed

toString()

get the url string corresponding to the url/action

public abstract toString([bool $forxml = false ]) : string
Parameters
$forxml : bool = false

true: some characters will be escaped

Return values
string

Search results