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

Public Member Functions

 SimpleMultipartEncoding ($query=false, $boundary=false)
 writeHeadersTo (&$socket)
 writeTo (&$socket)
 _encode ()

Data Fields

 $_boundary

Detailed Description

Definition at line 502 of file encoding.php.


Member Function Documentation

_encode ( )

Renders the query string as a URL encoded request part.

Returns:
string Part of URL. public

Reimplemented from SimpleEncoding.

Definition at line 542 of file encoding.php.

Here is the caller graph for this function:

SimpleMultipartEncoding ( query = false,
boundary = false 
)

Starts empty.

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

Definition at line 512 of file encoding.php.

Here is the call graph for this function:

writeHeadersTo ( &$  socket)

Dispatches the form headers down the socket.

Parameters:
SimpleSocket$socketSocket to write to. public

Reimplemented from SimplePostEncoding.

Definition at line 522 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 from SimplePostEncoding.

Definition at line 532 of file encoding.php.

Here is the call graph for this function:


Field Documentation

$_boundary

Definition at line 503 of file encoding.php.


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