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

Public Member Functions

 SimpleGetEncoding ($query=false)
 getMethod ()
 writeHeadersTo (&$socket)
 writeTo (&$socket)
 asUrlRequest ()

Detailed Description

Definition at line 329 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 374 of file encoding.php.

Here is the call graph for this function:

getMethod ( )

HTTP request method.

Returns:
string Always GET. public

Reimplemented in SimpleHeadEncoding.

Definition at line 347 of file encoding.php.

SimpleGetEncoding ( query = false)

Starts empty.

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

Definition at line 338 of file encoding.php.

Here is the call graph for this function:

Here is the caller graph for this function:

writeHeadersTo ( &$  socket)

Writes no extra headers.

Parameters:
SimpleSocket$socketSocket to write to. public

Definition at line 356 of file encoding.php.

writeTo ( &$  socket)

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

Parameters:
SimpleSocket$socketSocket to write to. public

Definition at line 365 of file encoding.php.


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