Moodle  2.2.1
http://www.collinsharper.com
SimplePostEncoding Class Reference
Inheritance diagram for SimplePostEncoding:
Collaboration diagram for SimplePostEncoding:

Public Member Functions

 SimplePostEncoding ($query=false)
 hasMoreThanOneLevel ($query)
 rewriteArrayWithMultipleLevels ($query)
 getMethod ()
 writeHeadersTo (&$socket)
 writeTo (&$socket)
 asUrlRequest ()

Detailed Description

Definition at line 413 of file encoding.php.


Member Function Documentation

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

Returns:
string Part of URL. public

Definition at line 491 of file encoding.php.

getMethod ( )

HTTP request method.

Returns:
string Always POST. public

Definition at line 462 of file encoding.php.

hasMoreThanOneLevel ( query)

Definition at line 429 of file encoding.php.

Here is the caller graph for this function:

Definition at line 438 of file encoding.php.

Here is the call graph for this function:

Here is the caller graph for this function:

SimplePostEncoding ( query = false)

Starts empty.

Parameters:
array$queryHash of parameters. Multiple values are as lists on a single key. public

Definition at line 422 of file encoding.php.

Here is the call graph for this function:

Here is the caller graph for this function:

writeHeadersTo ( &$  socket)

Dispatches the form headers down the socket.

Parameters:
SimpleSocket$socketSocket to write to. public

Reimplemented in SimpleMultipartEncoding.

Definition at line 471 of file encoding.php.

Here is the call graph for this function:

writeTo ( &$  socket)

Dispatches the form data down the socket.

Parameters:
SimpleSocket$socketSocket to write to. public

Reimplemented in SimpleMultipartEncoding.

Definition at line 481 of file encoding.php.

Here is the call graph for this function:


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations