|
IMDBPHP | |||||
PREV NEXT | Frames No Frame | |||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
![]() | mdb_config |
![]() |
Accessing MoviePilot information
Constructor Summary | ||
void | pilot(string $id) Initialize class |
Method Summary | ||
array | alsoknow() No data available at MoviePilot. AutoRetrieval from IMDB with pilot_imdbfill > BASIC_ACCESS | |
string | aspect_ratio() If pilot_imdbfill is
set at least to BASIC_ACCESS, it will be retrieved from IMDB. | |
array | awards() No data available at MoviePilot. AutoRetrieval from IMDB with pilot_imdbfill set to FULL_ACCESS | |
array | cast() Get the actors | |
private void | castlist() Obtain all cast data | |
array | colors() No data available at MoviePilot. AutoRetrieval from IMDB with pilot_imdbfill > BASIC_ACCESS | |
string | comment() Get movie main comment (from title page) | |
array | comment_split() Get movie main comment (from title page - split-up variant) | |
array | composer() Obtain the composer(s) ("Original Music by...") | |
array | country() Get country of production | |
array | crazy_credits() No data available at MoviePilot. AutoRetrieval from IMDB with pilot_imdbfill set to FULL_ACCESS | |
array | creator() No data available at MoviePilot. AutoRetrieval from IMDB with pilot_imdbfill set to FULL_ACCESS | |
array | director() Get the director(s) of the movie | |
array | distCompany() No data available at MoviePilot. AutoRetrieval from IMDB with pilot_imdbfill set to FULL_ACCESS | |
array | episodes() No data available at MoviePilot. AutoRetrieval from IMDB with pilot_imdbfill set to FULL_ACCESS | |
array | extReviews() No data available at MoviePilot. AutoRetrieval from IMDB with pilot_imdbfill set to FULL_ACCESS | |
string | genre() There is not really a main genre on the IMDB sites (yet), so this simply returns the first one | |
array | genres() Get all genres the movie is registered for | |
array | goofs() No data available at MoviePilot. AutoRetrieval from IMDB with pilot_imdbfill set to FULL_ACCESS | |
private boolean | invalidPage(string $wt) Check if we have valid page content | |
boolean | is_serial() Try to figure out if this is a movie or part of a serie | |
array | keywords() Get the keywords for the movie | |
array | keywords_all() Get the full keywords for the movie Just for compatibility with the IMDB class - result here is identical with pilot::keywords | |
string | language() There is not really a main language on the IMDB sites (yet), so this simply returns the first oneNo data available at MoviePilot. AutoRetrieval from IMDB with pilot_imdbfill > BASIC_ACCESS | |
array | languages() No data available at MoviePilot. AutoRetrieval from IMDB with pilot_imdbfill > BASIC_ACCESS | |
array | languages_detailed() No data available at MoviePilot. AutoRetrieval from IMDB with pilot_imdbfill > BASIC_ACCESS | |
array | locations() No data available at MoviePilot. AutoRetrieval from IMDB with pilot_imdbfill set to FULL_ACCESS | |
string | main_url() Set up the URL to the movie title page | |
array | mainPictures() Get URLs for the pictures on the main page | |
private string | mid(string $input) Create a valid IMDBID | |
array | movieconnection() No data available at MoviePilot. AutoRetrieval from IMDB with pilot_imdbfill set to FULL_ACCESS | |
string | movietype() No data available at MoviePilot. If pilot_imdbfill is
set at least to BASIC_ACCESS, it will be retrieved from IMDB. | |
array | movieTypes() No data available at MoviePilot. If pilot_imdbfill is
set at least to BASIC_ACCESS, it will be retrieved from IMDB. | |
array | mpaa() No data available at MoviePilot. AutoRetrieval from IMDB with pilot_imdbfill > NO_ACCESS | |
array | mpaa_hist() No data available at MoviePilot. AutoRetrieval from IMDB with pilot_imdbfill set to FULL_ACCESS | |
string | mpaa_reason() No data available at MoviePilot. AutoRetrieval from IMDB with pilot_imdbfill set to FULL_ACCESS | |
array | officialSites() URLs of Official Sites | |
private void | openpage(string $wt, [string $type]) Load an Pilot page into the corresponding property (variable) | |
array | otherCompany() No data available at MoviePilot. AutoRetrieval from IMDB with pilot_imdbfill set to FULL_ACCESS | |
array | parentalGuide() No data available at MoviePilot. AutoRetrieval from IMDB with pilot_imdbfill set to FULL_ACCESS | |
mixed | photo([boolean $thumb]) Get cover photo | |
mixed | photo_localurl([boolean $thumb]) Get the URL for the movies cover photo | |
array | plot() No data available at MoviePilot. If pilot_imdbfill is set to FULL_ACCESS, we
will automatically retrieve this data from the IMDB site configured.
Otherwise we fake some data using pilot::plotoutline() ,
resulting in a single record (if any) available there. | |
array | plot_split() No data available at MoviePilot. AutoRetrieval from IMDB with pilot_imdbfill set to FULL_ACCESS | |
string | plotoutline() Get the main Plot outline for the movie | |
array | prodCompany() No data available at MoviePilot. AutoRetrieval from IMDB with pilot_imdbfill set to FULL_ACCESS | |
void | prodNotes() No data available at MoviePilot. AutoRetrieval from IMDB with pilot_imdbfill set to FULL_ACCESS | |
array | producer() Obtain the producer(s) | |
array | quotes() No data available at MoviePilot. AutoRetrieval from IMDB with pilot_imdbfill set to FULL_ACCESS | |
string | rating() Get movie rating | |
array | releaseInfo() Obtain Release Info (if any) | |
mixed | runtime() Get overall runtime (first one mentioned on title page) | |
array | runtimes() Retrieve language specific runtimes | |
boolean | savephoto(string $path, [boolean $thumb]) Save the photo to disk | |
integer | seasons() No data available at MoviePilot. AutoRetrieval from IMDB with pilot_imdbfill set to FULL_ACCESS | |
protected string | set_pagename(string $wt) Define page urls | |
void | setid(string $id) Setup class for a new IMDB id | |
array | sound() No data available at MoviePilot. AutoRetrieval from IMDB with pilot_imdbfill > BASIC_ACCESS | |
array | soundtrack() Usually, the credits array should hold [0] written by, [1] performed by. But IMDB does not always stick to that - so in many cases it holds [0] performed by, [1] courtesy of No data available at MoviePilot. AutoRetrieval from IMDB with pilot_imdbfill set to FULL_ACCESS | |
array | specialCompany() No data available at MoviePilot. AutoRetrieval from IMDB with pilot_imdbfill set to FULL_ACCESS | |
string | storyline() Get the Storyline for the movie | |
string | synopsis() No data available at MoviePilot. AutoRetrieval from IMDB with pilot_imdbfill set to FULL_ACCESS | |
string | tagline() No data available at MoviePilot. AutoRetrieval from IMDB with pilot_imdbfill set to FULL_ACCESS | |
array | taglines() No data available at MoviePilot. AutoRetrieval from IMDB with pilot_imdbfill set to FULL_ACCESS | |
private boolean | thumbphoto() Setup cover photo (thumbnail and big variant) | |
string | title() Get movie title | |
integer | top250() No data available at MoviePilot. AutoRetrieval from IMDB with pilot_imdbfill set to FULL_ACCESS | |
mixed | trailers([boolean $full]) Get the trailer URLs for a given movie | |
array | trivia() No data available at MoviePilot. AutoRetrieval from IMDB with pilot_imdbfill set to FULL_ACCESS | |
void | videosites() No data available at MoviePilot. AutoRetrieval from IMDB with pilot_imdbfill set to FULL_ACCESS | |
string | votes() Return votes for this movie | |
array | writing() Get the writer(s) | |
string | year() Get year | |
array | yearspan() Get range of years for e. |
Methods inherited from class movie_base and not overridden |
reset_vars |
Methods inherited from class mdb_base and not overridden |
cache_read , cache_write , get_pilot_imdbfill() , getWebPage , imdbid , monthNo , purge , set_pilot_imdbfill |
Constructor Detail |
void pilot(string $id)
Initialize class
id
- IMDBID to use for data retrievalMethod Detail |
array alsoknow()
Get movies alternative names
string aspect_ratio()
Aspect Ratio of movie screen
array awards()
Get the complete awards for the movie
array cast()
Get the actors
private void castlist()
Obtain all cast data
array colors()
Get colors
string comment()
Get movie main comment (from title page)
array comment_split()
Get movie main comment (from title page - split-up variant)
array composer()
Obtain the composer(s) ("Original Music by...")
array country()
Get country of production
array crazy_credits()
Get the Crazy Credits
array creator()
Get the creator of a movie (most likely for seasons only)
array director()
Get the director(s) of the movie
array distCompany()
Info about distributors
array episodes()
Get the series episode(s)
array extReviews()
Get list of external reviews (if any)
string genre()
Get the movies main genre Since IMDB.COM does not really now a "Main Genre", this simply means the first mentioned genre will be returned.
array genres()
Get all genres the movie is registered for
array goofs()
Get the goofs
private boolean invalidPage(string $wt)
Check if we have valid page content
wt
- internal name of the pageboolean is_serial()
Try to figure out if this is a movie or part of a serie
array keywords()
Get the keywords for the movie
array keywords_all()
Get the full keywords for the movie Just for compatibility with the IMDB class - result here is identical with pilot::keywords
string language()
Get movies original language
array languages()
Get all langauges this movie is available in
array languages_detailed()
Get all languages this movie is available in, including details
array locations()
Obtain filming locations
string main_url()
Set up the URL to the movie title page
array mainPictures()
Get URLs for the pictures on the main page
private string mid(string $input)
Create a valid IMDBID
input
- value to checkarray movieconnection()
Get connected movie information
string movietype()
Get movie type
array movieTypes()
Get movie types (if any specified)
array mpaa()
Get the MPAA data (also known as PG or FSK)
array mpaa_hist()
Get the MPAA data (also known as PG or FSK) - including historical data
string mpaa_reason()
Find out the reason for the MPAA rating
array officialSites()
URLs of Official Sites
private void openpage(string $wt, [string $type])
Load an Pilot page into the corresponding property (variable)
wt
- internal name of the pagetype
- whether its a "movie" (default) or a "person"array otherCompany()
Info about other companies
array parentalGuide()
Detailed Parental Guide
mixed photo([boolean $thumb])
Get cover photo
thumb
- get the thumbnail (about 60x45px, default) or the
original variant (FALSE).mixed photo_localurl([boolean $thumb])
Get the URL for the movies cover photo
thumb
- get the thumbnail (about 60x45, default) or the
original variant (FALSE)array plot()
Get the movies plot(s)
array plot_split()
Get the movie plot(s) - split-up variant
string plotoutline()
Get the main Plot outline for the movie
array prodCompany()
Info about Production Companies
void prodNotes()
For not-yet completed movies, we can get the production state
array producer()
Obtain the producer(s)
array quotes()
Get the quotes for a given movie
string rating()
Get movie rating
array releaseInfo()
Obtain Release Info (if any)
mixed runtime()
Get overall runtime (first one mentioned on title page)
array runtimes()
Retrieve language specific runtimes
boolean savephoto(string $path, [boolean $thumb])
Save the photo to disk
path
- where to store the filethumb
- get the thumbnail (about 60x45px, default) or the
original variant (FALSE)integer seasons()
Get the number of seasons or 0 if not a series
protected string set_pagename(string $wt)
Define page urls
wt
- internal name of the pagevoid setid(string $id)
Setup class for a new IMDB id
id
- IMDBID of the requested moviearray sound()
Get sound formats
array soundtrack()
Get the soundtrack listing
array specialCompany()
Info about Special Effects companies
string storyline()
Get the Storyline for the movie
string synopsis()
Get the movies synopsis
string tagline()
Get the main tagline for the movie
array taglines()
Get all available taglines for the movie
private boolean thumbphoto()
Setup cover photo (thumbnail and big variant)
string title()
Get movie title
integer top250()
Find the position of a movie in the top 250 ranked movies
mixed trailers([boolean $full])
Get the trailer URLs for a given movie
full
- Retrieve all available data (TRUE), or stay compatible with previous IMDBPHP versions (FALSE, Default)array trivia()
Get the trivia info
void videosites()
Get the off-site videos and trailer URLs
string votes()
Return votes for this movie
array writing()
Get the writer(s)
string year()
Get year
array yearspan()
Get range of years for e.g. series spanning multiple years This is just here for compatibility with the IMDB class - so for now start==end
|
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)