|
IMDBPHP | |||||
PREV NEXT | Frames No Frame | |||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
![]() | mdb_config |
![]() |
imdbpsearch
Search the IMDB for a title and obtain the movies IMDB ID
Constructor Summary | ||
void | imdbsearch() Read the config |
Method Summary | ||
protected 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], [boolean $series], [boolean $s_episodes], [boolean $s_games], [boolean $s_video], [boolean $s_short], [boolean $s_special]) 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 imdbsearch()
Read the config
Method Detail |
protected 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], [boolean $series], [boolean $s_episodes], [boolean $s_games], [boolean $s_video], [boolean $s_short], [boolean $s_special])
Setup search results
URL
- Replace search URL by your own (Default: empty string)series
- whether to include TV series in search results (default: TRUE)s_episodes
- whether to include TV episodes in search results (default: TRUE)s_games
- whether to include games in search results (default: TRUE)s_video
- whether to include videos in search results (default: TRUE). These are often Making Ofs and the likes_short
- whether to include shorts in search results (default: TRUE)s_special
- whether to include specials in search results (default: TRUE)void 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)