Isis_Http Class Reference
List of all members.
Public Member Functions |
| toUrl ($rec, $nuts=0) |
| fromReq ($db_or_fdt=null, $server_map=null) |
| Isis_Http ($host, $url, $php=0, $port=80, $pers=0) |
| request ($req) |
| toUrl ($rec, $nuts=0) |
| fromReq ($db_or_fdt=null, $server_map=null) |
| Isis_Http ($host, $url, $php=0, $port=80, $pers=0) |
| request ($req) |
Public Attributes |
| $head |
| $nuts = 0 |
Member Function Documentation
Isis_Http::fromReq |
( |
$ |
db_or_fdt = null , |
|
|
$ |
server_map = null | |
|
) |
| | |
static we ARE on the nutty side -- try to turn http request into something usable see toUrl nuts above for the format UNFORTUNATELY we have no way to tell the original order of parameters. hmm ... for get we could resort to parse QUERY_STRING manually
- Parameters:
-
| mixed | $db_or_fdt a Isis_Db object or just it's fdt array to look up names. |
Isis_Http::fromReq |
( |
$ |
db_or_fdt = null , |
|
|
$ |
server_map = null | |
|
) |
| | |
static we ARE on the nutty side -- try to turn http request into something usable see toUrl nuts above for the format UNFORTUNATELY we have no way to tell the original order of parameters. hmm ... for get we could resort to parse QUERY_STRING manually
- Parameters:
-
| mixed | $db_or_fdt a Isis_Db object or just it's fdt array to look up names. |
Isis_Http::Isis_Http |
( |
$ |
host, |
|
|
$ |
url, |
|
|
$ |
php = 0 , |
|
|
$ |
port = 80 , |
|
|
$ |
pers = 0 | |
|
) |
| | |
pers 1: use pfsockopen and keep-alive pers -1: only keep-alive (for multiple requests within one run) pers 0: neither
Isis_Http::Isis_Http |
( |
$ |
host, |
|
|
$ |
url, |
|
|
$ |
php = 0 , |
|
|
$ |
port = 80 , |
|
|
$ |
pers = 0 | |
|
) |
| | |
pers 1: use pfsockopen and keep-alive pers -1: only keep-alive (for multiple requests within one run) pers 0: neither
Isis_Http::toUrl |
( |
$ |
rec, |
|
|
$ |
nuts = 0 | |
|
) |
| | |
static convert Isis_Rec to urlencoded parameters. should be a method of Isis_Rec, however, since feeble PHP has to parse all the cruft on every single request, better limit the code to where it's needed.
Isis_Http::toUrl |
( |
$ |
rec, |
|
|
$ |
nuts = 0 | |
|
) |
| | |
static convert Isis_Rec to urlencoded parameters. should be a method of Isis_Rec, however, since feeble PHP has to parse all the cruft on every single request, better limit the code to where it's needed.
Member Data Documentation
whether we need PHP's nutty vd[] on parameters
The documentation for this class was generated from the following files:
- contrib/malete/php/Isis/Http.php
- contrib/openisis/php/Isis/Http.php