Comments: on this page. Click to read or post your own.

Class SimpleGetEncoding

Description

Bundle of GET parameters. Can include repeated parameters.

Located in /sapphire/dev/simpletest/encoding.php (line 329)

SimpleEncoding
   |
   --SimpleGetEncoding
Direct descendents
Class Description
SimpleHeadEncoding Bundle of URL parameters for a HEAD request.
Method Summary
SimpleGetEncoding SimpleGetEncoding ([array $query = false])
string asUrlRequest ()
string getMethod ()
void writeHeadersTo ( &$socket, SimpleSocket $socket)
void writeTo ( &$socket, SimpleSocket $socket)
Variables

Inherited Variables

Inherited from SimpleEncoding

SimpleEncoding::$_request
Methods
Constructor SimpleGetEncoding (line 338)

Starts empty.

  • access: public
SimpleGetEncoding SimpleGetEncoding ([array $query = false])
  • array $query: Hash of parameters. Multiple values are as lists on a single key.
asUrlRequest (line 374)

Renders the query string as a URL encoded request part for attaching to a URL.

  • return: Part of URL.
  • access: public
string asUrlRequest ()
getMethod (line 347)

HTTP request method.

  • return: Always GET.
  • access: public
string getMethod ()

Redefined in descendants as:
writeHeadersTo (line 356)

Writes no extra headers.

  • access: public
void writeHeadersTo ( &$socket, SimpleSocket $socket)
writeTo (line 365)

No data is sent to the socket as the data is encoded into the URL.

  • access: public
void writeTo ( &$socket, SimpleSocket $socket)

Inherited Methods

Inherited From SimpleEncoding

SimpleEncoding::SimpleEncoding()
SimpleEncoding::add()
SimpleEncoding::attach()
SimpleEncoding::clear()
SimpleEncoding::getAll()
SimpleEncoding::getValue()
SimpleEncoding::merge()
SimpleEncoding::_encode()
blog comments powered by Disqus

Documentation generated on Sun, 19 Oct 2008 06:40:43 +1300 by phpDocumentor 1.3.2