Class SimplePostEncoding

Description

Bundle of POST parameters. Can include repeated parameters.

Located in /encoding.php (line 502)

SimpleEncoding
   |
   --SimpleEntityEncoding
      |
      --SimplePostEncoding
Direct descendents
Class Description
 class SimpleMultipartEncoding Bundle of POST parameters in the multipart format. Can include file uploads.
Method Summary
 SimplePostEncoding __construct ([array $query = false], [ $content_type = false])
 string asUrlRequest ()
 string getMethod ()
 void hasMoreThanOneLevel ( $query)
Methods
Constructor __construct (line 511)

Starts empty.

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

Redefinition of:
SimpleEntityEncoding::__construct()

Redefined in descendants as:
asUrlRequest (line 560)

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

HTTP request method.

  • return: Always POST.
  • access: public
string getMethod ()
hasMoreThanOneLevel (line 518)
void hasMoreThanOneLevel ( $query)
  • $query
rewriteArrayWithMultipleLevels (line 527)
void rewriteArrayWithMultipleLevels ( $query)
  • $query

Inherited Methods

Inherited From SimpleEntityEncoding

 SimpleEntityEncoding::__construct()
 SimpleEntityEncoding::encode()
 SimpleEntityEncoding::getContentType()
 SimpleEntityEncoding::writeHeadersTo()
 SimpleEntityEncoding::writeTo()

Inherited From SimpleEncoding

 SimpleEncoding::__construct()
 SimpleEncoding::add()
 SimpleEncoding::addPair()
 SimpleEncoding::attach()
 SimpleEncoding::clear()
 SimpleEncoding::encode()
 SimpleEncoding::getAll()
 SimpleEncoding::getValue()
 SimpleEncoding::merge()

Documentation generated on Sun, 31 Oct 2010 16:31:21 -0500 by phpDocumentor 1.4.3