|
IMDBPHP | |||||
PREV NEXT | Frames No Frame | |||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
![]() | imdb_config |
![]() |
Accessing IMDB information
Constructor Summary | ||
void | imdb(string $id) Initialize class |
Method Summary | ||
array | alsoknow() Get movies alternative names | |
array | cast() Get the actors | |
array | colors() Get colors | |
string | comment() Get movie comment | |
array | composer() Obtain the composer(s) ("Original Music by...") | |
array | country() Get country of production | |
array | crazy_credits() Get the Crazy Credits | |
array | director() Get the director(s) of the movie | |
array | episodes() Get the series episode(s) | |
string | genre() Get the movies main genre | |
array | genres() Get all genres the movie is registered for | |
string | get_imdbname(string $href) Get the IMDB name (? | |
array | get_row_cels(string $row) Get content of table row cells | |
mixed | get_table_rows(string $html, string $table_start) Get rows for a given table on the page | |
mixed | get_table_rows_cast(string $html, string $table_start) Get rows for the cast table on the page | |
array | goofs() Get the goofs | |
string | imdbid() Retrieve the IMDB ID | |
string | language() Get movies original language | |
array | languages() Get all langauges this movie is available in | |
string | main_url() Set up the URL to the movie title page | |
array | mpaa() Get the MPAA data (PG? | |
void | openpage(string $wt) Open an IMDB page | |
mixed | photo() Get cover photo | |
mixed | photo_localurl() Get the URL for the movies cover photo | |
array | plot() Get the movies plot(s) | |
string | plotoutline() Get the main Plot outline for the movie | |
array | producer() Obtain the producer(s) | |
void | purge() Check cache and purge outdated files This method looks for files older than the cache_expire set in the imdb_config and removes them | |
array | quotes() Get the quotes for a given movie | |
string | rating() Get movie rating | |
mixed | runtime() Get overall runtime | |
string | runtime_all() Get general runtime | |
array | runtimes() Retrieve language specific runtimes | |
boolean | savephoto(string $path) Save the photo to disk | |
integer | seasons() Get the number of seasons or 0 if not a series | |
void | setid(string $id) Setup class for a new IMDB id | |
array | sound() Get sound formats | |
string | tagline() Get the main tagline for the movie | |
array | taglines() Get all available taglines for the movie | |
string | title() Get movie title | |
array | trailers() Get the trailer URLs for a given movie | |
array | trivia() Get the trivia info | |
string | votes() Return votes for this movie | |
array | writing() Get the writer(s) | |
string | year() Get year |
Constructor Detail |
void imdb(string $id)
Initialize class
id
- Method Detail |
array alsoknow()
Get movies alternative names
array cast()
Get the actors
array colors()
Get colors
string comment()
Get movie comment
array composer()
Obtain the composer(s) ("Original Music by...")
array country()
Get country of production
array crazy_credits()
Get the Crazy Credits
array director()
Get the director(s) of the movie
array episodes()
Get the series episode(s)
string genre()
Get the movies main genre
array genres()
Get all genres the movie is registered for
string get_imdbname(string $href)
Get the IMDB name (?)
href
- array get_row_cels(string $row)
Get content of table row cells
row
- (as returned by imdb::get_table_rows)mixed get_table_rows(string $html, string $table_start)
Get rows for a given table on the page
html
- table_start
- mixed get_table_rows_cast(string $html, string $table_start)
Get rows for the cast table on the page
html
- table_start
- array goofs()
Get the goofs
string imdbid()
Retrieve the IMDB ID
string language()
Get movies original language
array languages()
Get all langauges this movie is available in
string main_url()
Set up the URL to the movie title page
array mpaa()
Get the MPAA data (PG?)
void openpage(string $wt)
Open an IMDB page
wt
- mixed photo()
Get cover photo
mixed photo_localurl()
Get the URL for the movies cover photo
array plot()
Get the movies plot(s)
string plotoutline()
Get the main Plot outline for the movie
array producer()
Obtain the producer(s)
void purge()
Check cache and purge outdated files This method looks for files older than the cache_expire set in the imdb_config and removes them
array quotes()
Get the quotes for a given movie
string rating()
Get movie rating
mixed runtime()
Get overall runtime
string runtime_all()
Get general runtime
array runtimes()
Retrieve language specific runtimes
boolean savephoto(string $path)
Save the photo to disk
path
- integer seasons()
Get the number of seasons or 0 if not a series
void setid(string $id)
Setup class for a new IMDB id
id
- array sound()
Get sound formats
string tagline()
Get the main tagline for the movie
array taglines()
Get all available taglines for the movie
string title()
Get movie title
array trailers()
Get the trailer URLs for a given movie
array trivia()
Get the trivia info
string votes()
Return votes for this movie
array writing()
Get the writer(s)
string year()
Get year
|
IMDBPHP | |||||
PREV NEXT | Frames No Frame | |||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This document was generated by phpdocgen 0.16.
Copyright © 2002-03 Stéphane GALLAND (under the GNU General Public License)