Method | Description | |
---|---|---|
search ( string $searchTerms, array $wantedTypes = null, $maxResults = null ) : |
Search IMDb for titles matching $searchTerms |
Method | Description | |
---|---|---|
buildUrl ( $searchTerms = null ) | ||
parseTitleType ( $string ) |
public search ( string $searchTerms, array $wantedTypes = null, $maxResults = null ) : |
||
$searchTerms | string | |
$wantedTypes | array | *optional* imdb types that should be returned. Defaults to returning all types. The class constants MOVIE,GAME etc should be used e.g. [TitleSearch::MOVIE, TitleSearch::TV_SERIES] |
return | array of Title objects |