|
IMDBPHP | |||||
PREV NEXT | Frames No Frame | |||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Search IMDB
Method Summary | ||
void | reset() Reset variables | |
array | results([string $URL], [boolean $series], [boolean $s_episodes], [boolean $s_games], [boolean $s_video], [boolean $s_short], [boolean $s_special]) DEPRECATED Perform the search | |
array | search(string $searchTerms, array $wantedTypes, integer $maxResults) Search IMDb for titles matching $searchTerms | |
void | search_episodes(boolean $enabled) DEPRECATED Search for episodes or movies | |
void | setsearchname(string $searchstring) DEPRECATED Set the name (title) to search for |
Method Detail |
void reset()
Reset variables
array results([string $URL], [boolean $series], [boolean $s_episodes], [boolean $s_games], [boolean $s_video], [boolean $s_short], [boolean $s_special])
DEPRECATED Perform the search
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)array search(string $searchTerms, array $wantedTypes, integer $maxResults)
Search IMDb for titles matching $searchTerms
searchTerms
- wantedTypes
- *optional* imdb types that should be returned. Defaults to returning all types.
The class constants MOVIE,GAME etc should be used e.g. [imdbsearch::MOVIE, imdbsearch::TV_SERIES]maxResults
- *optional* The maximum number of results to retrieve from IMDB. 0 for unlimited. Defaults to mdb_config::$maxresultsvoid search_episodes(boolean $enabled)
DEPRECATED Search for episodes or movies
enabled
- TRUE: Search for episodes; FALSE: Search for movies (default)void setsearchname(string $searchstring)
DEPRECATED Set the name (title) to search for
searchstring
- what to search for - (part of) the movie name
|
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 Stephane GALLAND (under the GNU General Public License)