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

Class SimplePostEncoding

Description

Bundle of POST parameters. Can include repeated parameters.

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

SimpleEncoding
   |
   --SimplePostEncoding
Direct descendents
Class Description
SimpleMultipartEncoding Bundle of POST parameters in the multipart format. Can include file uploads.
Method Summary
SimplePostEncoding SimplePostEncoding ([array $query = false])
string asUrlRequest ()
string getMethod ()
void hasMoreThanOneLevel ( $query)
void writeHeadersTo ( &$socket, SimpleSocket $socket)
void writeTo ( &$socket, SimpleSocket $socket)
Variables

Inherited Variables

Inherited from SimpleEncoding

SimpleEncoding::$_request
Methods
Constructor SimplePostEncoding (line 422)

Starts empty.

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

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 462)

HTTP request method.

  • return: Always POST.
  • access: public
string getMethod ()
hasMoreThanOneLevel (line 429)
void hasMoreThanOneLevel ( $query)
  • $query
rewriteArrayWithMultipleLevels (line 438)
void rewriteArrayWithMultipleLevels ( $query)
  • $query
writeHeadersTo (line 471)

Dispatches the form headers down the socket.

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

Redefined in descendants as:
writeTo (line 481)

Dispatches the form data down the socket.

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

Redefined in descendants as:

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