Class FauxRequest

Description

WebRequest clone which takes values from a provided array.

Located in /includes/WebRequest.php (line 404)

WebRequest
   |
   --FauxRequest
Variable Summary
 mixed $data
 mixed $wasPosted
Method Summary
 FauxRequest FauxRequest (mixed $data, [mixed $wasPosted = false])
 void appendQuery (mixed $query)
 void getRequestURL ()
 void getText (mixed $name, [mixed $default = ''])
 void getVal (mixed $name, [mixed $default = NULL])
 void getValues ()
 void wasPosted ()
Variables
mixed $data = null (line 405)
mixed $wasPosted = false (line 406)
Methods
Constructor FauxRequest (line 408)
FauxRequest FauxRequest (mixed $data, [mixed $wasPosted = false])
appendQuery (line 442)
void appendQuery (mixed $query)

Redefinition of:
WebRequest::appendQuery()
Take an arbitrary query and rewrite the present URL to include it
checkSessionCookie (line 434)
void checkSessionCookie ()

Redefinition of:
WebRequest::checkSessionCookie()
Returns true if there is a session cookie set.
getRequestURL (line 438)
void getRequestURL ()

Redefinition of:
WebRequest::getRequestURL()
Return the path portion of the request URI.
getText (line 421)
void getText (mixed $name, [mixed $default = ''])

Redefinition of:
WebRequest::getText()
Fetch a text string from the given array or return $default if it's not set. \r is stripped from the text, and with some language modules there is an input transliteration applied. This should generally be used for form <textarea> and <input> fields.
getVal (line 417)
void getVal (mixed $name, [mixed $default = NULL])

Redefinition of:
WebRequest::getVal()
Fetch a value from the input or return $default if it's not set.
getValues (line 426)
void getValues ()

Redefinition of:
WebRequest::getValues()
Extracts the given named values into an array.
wasPosted (line 430)
void wasPosted ()

Redefinition of:
WebRequest::wasPosted()
Returns true if the present request was reached by a POST operation, false otherwise (GET, HEAD, or command-line).

Inherited Methods

Inherited From WebRequest

 WebRequest::WebRequest()
 WebRequest::appendQuery()
 WebRequest::checkMagicQuotes()
 WebRequest::checkSessionCookie()
 WebRequest::escapeAppendQuery()
 WebRequest::fix_magic_quotes()
 WebRequest::getBool()
 WebRequest::getCheck()
 WebRequest::getFileName()
 WebRequest::getFileSize()
 WebRequest::getFileTempname()
 WebRequest::getFullRequestURL()
 WebRequest::getGPCText()
 WebRequest::getGPCVal()
 WebRequest::getInt()
 WebRequest::getLimitOffset()
 WebRequest::getRequestURL()
 WebRequest::getText()
 WebRequest::getVal()
 WebRequest::getValues()
 WebRequest::normalizeUnicode()
 WebRequest::wasPosted()

Documentation generated on Sun, 20 Mar 2005 19:37:01 -0800 by phpDocumentor 1.3.0RC3