[ Index ]
 

Code source de LifeType 1.2.4

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/class/net/ -> request.class.php (sommaire)

(pas de description)

Poids: 77 lignes (2 kb)
Inclus ou requis:0 fois
Référencé: 4 fois
Nécessite: 0 fichiers

Définit 1 class

Request:: (3 méthodes):
  Request()
  setStripSlashes()
  getValue()


Classe: Request  - X-Ref

\ingroup Net

Represents a request in our system. Doing so we can in the future
change the format requests are recognized since all the dirty
stuff would be done here. After that, using an interface of the type
getValue( "param" ) would be enough to access those values, regardless
if the request was /index.php?op=Default&articleId=10 or
/index.php/op/Default/articleId/10.
Request( $values = null )   X-Ref
Initializes the request object

param: values An associative array that will be used to initialize the object

setStripSlashes( $enabled )   X-Ref
whether parameters should or should not be unescaped automatically

param: escape

getValue( $key, $defaultValue = null, $filterClass = null )   X-Ref
reimplemented from Properties::getValue() so that we can correctly
strip slashes from requests where magic_quotes_gpc was enabled

param: key
param: defaultValue
param: filterClass
return: the value



Généré le : Mon Nov 26 21:04:15 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics