|
IMDBPHP | |||||
PREV NEXT | Frames No Frame | |||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
![]() | mdb_config |
![]() |
Search the IMDB for a title and obtain the movies IMDB ID
Constructor Summary | ||
void | pilotsearch() Read the config |
Method Summary | ||
private string | mkurl() Create the IMDB URL for the movie search | |
void | reset() Reset search results This empties the collected search results. | |
array | results([string $URL]) Setup search results | |
void | search_episodes(boolean $enabled) Search for episodes or movies | |
void | setsearchname(string $searchstring) Set the name (title) to search for | |
void | seturl(string $URL) Set the URL (overwrite default search URL and run your own) This URL will be reset if you call the setsearchname() method |
Constructor Detail |
void pilotsearch()
Read the config
Method Detail |
private string mkurl()
Create the IMDB URL for the movie search
void reset()
Reset search results This empties the collected search results. Without calling this, every new search appends its results to the ones collected by the previous search.
array results([string $URL])
Setup search results
URL
- Replace search URL by your ownvoid search_episodes(boolean $enabled)
Search for episodes or movies
enabled
- TRUE: Search for episodes; FALSE: Search for movies (default)void setsearchname(string $searchstring)
Set the name (title) to search for
searchstring
- what to search for - (part of) the movie namevoid seturl(string $URL)
Set the URL (overwrite default search URL and run your own) This URL will be reset if you call the setsearchname() method
URL
- to use
|
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)