|
IMDBPHP | |||||
PREV NEXT | Frames No Frame | |||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
![]() | mdb_config |
![]() |
Accessing IMDB staff information
Constructor Summary | ||
void | imdb_person(string $id) Initialize class |
Method Summary | ||
array | articles() Articles | |
array | bio() Get the person's mini bio | |
string | birthname() Get the birth name | |
array | born() Get Birthday | |
array | died() Get Deathday | |
protected void | filmograf(array& $where, string $type) Get filmography | |
array | getSearchDetails() Get the search details They are just set when the imdb_person object has been initialized by the imdbpsearch class | |
array | height() Get the body height | |
array | interviews() Interviews | |
array | magcovers() Magazine cover photos | |
string | main_url() Set up the URL to the movie title page | |
array | movies_actor() Get actors filmography | |
array | movies_actress() Get actress filmography | |
array | movies_all() Get complete filmography This method ignores the categories and tries to collect the complete filmography. | |
array | movies_archive() Get "Archive Footage" filmography | |
array | movies_crew() Get "Misc Crew" filmography | |
array | movies_director() Get directors filmography | |
array | movies_producer() Get producers filmography | |
array | movies_self() Get "Self" filmography | |
array | movies_soundtrack() Get soundtrack filmography | |
array | movies_thanx() Get "Thanx" filmography | |
array | movies_writer() Get writers filmography | |
string | name() Get the name of the person | |
array | nickname() Get the nick name | |
protected void | parparse(string $name, array& $res) Parse Trivia, Quotes, etc (same structs) | |
protected void | parsearticles(array& $res, string $page, string $title) used by interviews(), articles(), pictorials(), magcovers() | |
protected void | parsepubmovies(array& $res, string $page, string $header) helper to pubmovies() and portrayedmovies() | |
mixed | photo([boolean $thumb]) Get cover photo | |
mixed | photo_localurl([boolean $thumb]) Get the URL for the movies cover photo | |
array | pictorials() Pictorials | |
array | pubmovies() Biographical Movies | |
array | pubportraits() List of movies protraying the person | |
array | pubprints() Print media about this person | |
array | quotes() Get the Personal Quotes | |
array | salary() Get the salary list | |
boolean | savephoto(string $path, [boolean $thumb]) Save the photo to disk | |
protected string | set_pagename(string $wt) Define page urls | |
void | setSearchDetails(string $role, integer $mid, string $name, integer $year) Set some search details | |
array | spouse() Get spouse(s) | |
array | trademark() Get the "trademarks" of the person | |
array | trivia() Get the Trivia |
Methods inherited from class mdb_base and not overridden |
cache_read , cache_write , get_pilot_imdbfill() , getWebPage , imdbid , monthNo , openpage , purge , readCachedPage , reset_vars , set_pilot_imdbfill , setid , writeCachedPage |
Constructor Detail |
void imdb_person(string $id)
Initialize class
id
- IMDBID to use for data retrievalMethod Detail |
array articles()
Articles
array bio()
Get the person's mini bio
string birthname()
Get the birth name
array born()
Get Birthday
array died()
Get Deathday
protected void filmograf(array& $where, string $type)
Get filmography
where
- to store the filmographytype
- Which filmografie to retrieve ("actor",)array getSearchDetails()
Get the search details They are just set when the imdb_person object has been initialized by the imdbpsearch class
array height()
Get the body height
array interviews()
Interviews
array magcovers()
Magazine cover photos
string main_url()
Set up the URL to the movie title page
array movies_actor()
Get actors filmography
array movies_actress()
Get actress filmography
array movies_all()
Get complete filmography This method ignores the categories and tries to collect the complete filmography. Useful e.g. for pages without categories on. It may, however, contain duplicates if there are categories and a movie is listed in more than one of them
array movies_archive()
Get "Archive Footage" filmography
array movies_crew()
Get "Misc Crew" filmography
array movies_director()
Get directors filmography
array movies_producer()
Get producers filmography
array movies_self()
Get "Self" filmography
array movies_soundtrack()
Get soundtrack filmography
array movies_thanx()
Get "Thanx" filmography
array movies_writer()
Get writers filmography
string name()
Get the name of the person
array nickname()
Get the nick name
protected void parparse(string $name, array& $res)
Parse Trivia, Quotes, etc (same structs)
name
- res
- protected void parsearticles(array& $res, string $page, string $title)
Helper for article parsing
res
- where to store the resultspage
- name of the pagetitle
- title of the blockprotected void parsepubmovies(array& $res, string $page, string $header)
Parse movie helper
res
- where to store the resultspage
- name of the pageheader
- header of the block on the IMDB sitemixed photo([boolean $thumb])
Get cover photo
thumb
- get the thumbnail (100x140, default) or the
bigger variant (400x600 - FALSE)mixed photo_localurl([boolean $thumb])
Get the URL for the movies cover photo
thumb
- get the thumbnail (100x140, default) or the
bigger variant (400x600 - FALSE)array pictorials()
Pictorials
array pubmovies()
Biographical Movies
array pubportraits()
List of movies protraying the person
array pubprints()
Print media about this person
array quotes()
Get the Personal Quotes
array salary()
Get the salary list
boolean savephoto(string $path, [boolean $thumb])
Save the photo to disk
path
- where to store the filethumb
- get the thumbnail (100x140, default) or the
bigger variant (400x600 - FALSE)protected string set_pagename(string $wt)
Define page urls
wt
- internal name of the pagevoid setSearchDetails(string $role, integer $mid, string $name, integer $year)
Set some search details
role
- mid
- IMDB IDname
- movie-nameyear
- array spouse()
Get spouse(s)
array trademark()
Get the "trademarks" of the person
array trivia()
Get the Trivia
|
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)