|
IMDBPHP | |||||
PREV NEXT | Frames No Frame | |||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The request class Here we emulate a browser accessing the IMDB site. You don't need to call any of its method directly - they are rather used by the IMDB classes.
Constructor Summary | ||
void | MDB_Request(string $url, [string $force_agent], [string $trigger_referer]) Constructor: Initialize the BrowserEmulator No need to call this. |
Method Summary | ||
string | getResponseBody() Get the Response body | |
string | getresponseheader([string $header]) Obtain the response header | |
boolean | sendRequest() Send a request to the movie site | |
void | setURL() Set the URL we need to parse |
Constructor Detail |
void MDB_Request(string $url, [string $force_agent], [string $trigger_referer])
Constructor: Initialize the BrowserEmulator No need to call this.
url
- URL to openforce_agent
- user agent string to use. Defaults to the one set in mdb_config.trigger_referer
- whether to trigger the referer. 'TRUE' = yes, 'FALSE' = no, '' = take value from mdb_config (default)Method Detail |
string getResponseBody()
Get the Response body
string getresponseheader([string $header])
Obtain the response header
header
- boolean sendRequest()
Send a request to the movie site
void setURL()
Set the URL we need to parse
|
IMDBPHP | |||||
PREV NEXT | Frames No Frame | |||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This document was generated by phpdocgen 0.17-rc3.
Copyright © 2002-03 Stéphane GALLAND (under the GNU General Public License)