Class jUrlBase

Description

base class for jUrl and jUrlAction

  • author: Laurent Jouanneau
  • copyright: 2005-2006 Laurent Jouanneau
  • abstract:

Located in /core/jUrlBase.class.php (line 19)


	
			
Direct descendents
Class Description
jUrlAction A container to store url data for an action
jUrl Object that contains url data, and which provides static method helpers
Variable Summary
mixed $params
Method Summary
void clearParam ()
void delParam (string $name)
string getParam (string $name, [string $defaultValue = null])
void setParam (string $name, string $value)
string toString ([boolean $forxml = false])
void __toString ()
Variables
mixed $params = array() (line 24)

parameters

  • access: public
Methods
clearParam (line 57)

Clear parameters

  • access: public
void clearParam ()
delParam (line 39)

delete a parameter

  • access: public
void delParam (string $name)
  • string $name: parameter name
getParam (line 50)

get a parameter value

  • return: the value
  • access: public
string getParam (string $name, [string $defaultValue = null])
  • string $name: parameter name
  • string $defaultValue: the default value returned if the parameter doesn't exists
setParam (line 31)

add or change the value of a parameter

  • access: public
void setParam (string $name, string $value)
  • string $name: parameter name
  • string $value: parameter value
toString (line 67)

get the url string corresponding to the url/action

  • abstract:
  • access: public
string toString ([boolean $forxml = false])
  • boolean $forxml: true: some characters will be escaped

Redefined in descendants as:
__toString (line 73)

magic method for echo and others...

  • access: public
void __toString ()

Documentation generated on Mon, 26 Oct 2015 21:56:43 +0100 by phpDocumentor 1.4.3