PHP Doku:: The HttpQueryString class - class.httpquerystring.html

Verlauf / Chronik / History: (1) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzSonstige DiensteHTTPThe HttpQueryString class

Ein Service von Reinhard Neidl - Webprogrammierung.





The HttpQueryString class


HttpQueryString implements ArrayAccess , Serializable {
final public void __construct ([ bool $global = true [, mixed $add ]] )
public mixed get ([ string $key [, mixed $type = 0 [, mixed $defval = NULL [, bool $delete = false ]]]] )
public HttpQueryString mod ( mixed $params )
public string set ( mixed $params )
static public HttpQueryString singleton ([ bool $global = true ] )
public array toArray ( void )
public string toString ( void )
public bool xlate ( string $ie , string $oe )

Class Members


Instance Properties
Modifiers Type Name Description
private array queryArray query parameters
private string queryString serialized query parameters
Static Properties
Modifiers Type Name Description
private array instance holds singletons

Vordefinierte Konstanten

Type Name Description
int TYPE_BOOL retrieve query param as bool
int TYPE_INT retrieve query param as int
int TYPE_FLOAT retrieve query param as float
int TYPE_STRING retrieve query param as string
int TYPE_ARRAY retrieve query param as array
int TYPE_OBJECT retrieve query param as object


Ein BenutzerBeitrag:
- Beiträge aktualisieren...
26.10.2010 15:20
This may sound obvious but just a reminder: this object only works with parameters submitted via GET method. Variables submitted via POST will not be parsed by this object.

PHP Powered Diese Seite bei
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)