jUrlAction

Extends \jUrlBase

A container to store url data for an action

package

jelix

subpackage

core_url

Methods

constructor.

__construct( $params = array(),  $request = '') 

..

Arguments

$params

$request

magic method for echo and others.

__toString() 
inherited

..

Clear parameters

clearParam() 
inherited

delete a parameter

delParam(string $name) 
inherited

Arguments

$name

string

parameter name

get a parameter value

getParam(string $name, string $defaultValue = null) : string
inherited

Arguments

$name

string

parameter name

$defaultValue

string

the default value returned if the parameter doesn't exists

Response

string

the value

add or change the value of a parameter

setParam(string $name, string $value) 
inherited

Arguments

$name

string

parameter name

$value

string

parameter value

get the url string corresponding to the url/action

toString(boolean $forxml = false) : string
inherited abstract

Arguments

$forxml

boolean

true: some characters will be escaped

Response

string

get the jUrl object corresponding to the action

toUrl() : \jUrl

Response

\jUrl

Properties

the request type

requestType : string
var

Type(s)

string

parameters

params : 
inherited

Type(s)