Property | Type | Description | |
---|---|---|---|
$SearchDetails | SearchDetails | ||
$actorsfilms | |||
$actressfilms | |||
$allfilms | |||
$archivefilms | |||
$bio_bio | |||
$bio_salary | |||
$bio_tm | |||
$bio_trivia | |||
$birth_name | "Bio" page: | ||
$birthday | |||
$bodyheight | |||
$crewsfilms | |||
$deathday | |||
$directorsfilms | |||
$fullname | |||
$main_photo | "Name" page: | ||
$nick_name | |||
$producersfilms | |||
$pub_articles | |||
$pub_interviews | |||
$pub_magcovers | |||
$pub_movies | |||
$pub_pictorial | |||
$pub_prints | "Publicity" page: | ||
$selffilms | |||
$soundtrackfilms | |||
$spouses | |||
$thanxfilms | |||
$titleTypeMap | |||
$writerfilms |
Method | Description | |
---|---|---|
__construct ( $id, |
||
articles ( ) : array | Articles | |
bio ( ) : array | Get the person's mini bio | |
birthname ( ) : string | Get the birth name | |
born ( ) : array | null | Get Birthday | |
died ( ) : array | Get Deathday | |
fromSearchResults ( $id, $name, |
||
getSearchDetails ( ) : array | Get the search details They are just set when the imdb_person object has been initialized by the imdbpsearch class | |
height ( ) : array | Get the body height | |
imdbid ( ) : string | Retrieve the IMDB ID | |
interviews ( ) : array | Interviews | |
magcovers ( ) : array | Magazine cover photos | |
main_url ( ) : string | Set up the URL to the movie title page | |
movies_actor ( ) : array | Get an actor or actress' filmography | |
movies_actress ( ) | ||
movies_all ( ) : array | 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 | |
movies_archive ( ) : array | Get "Archive Footage" filmography | |
movies_crew ( ) : array | Get "Misc Crew" filmography | |
movies_director ( ) : array | Get directors filmography | |
movies_producer ( ) : array | Get producers filmography | |
movies_self ( ) : array | Get "Self" filmography | |
movies_soundtrack ( ) : array | Get soundtrack filmography | |
movies_thanx ( ) : array | Get "Thanx" filmography | |
movies_writer ( ) : array | Get writers filmography | |
name ( ) : string | Get the name of the person | |
nickname ( ) : array | Get the nick name | |
photo ( $thumb = true ) : mixed | Get cover photo | |
photo_localurl ( $thumb = true ) : mixed | Get the URL for the movies cover photo | |
pictorials ( ) : array | Pictorials | |
pubmovies ( ) : array | Biographical Movies | |
pubportraits ( ) : array | List of movies protraying the person | |
pubprints ( ) : array | Print media about this person | |
quotes ( ) : array | Get the Personal Quotes | |
salary ( ) : array | Get the salary list | |
savephoto ( $path, $thumb = TRUE, $rerun = FALSE ) : boolean | Save the photo to disk | |
setSearchDetails ( $role, $mid, $name, $year ) | Set some search details | |
spouse ( ) : array | Get spouse(s) | |
trademark ( ) : array | Get the "trademarks" of the person | |
trivia ( ) : array | Get the Trivia |
Method | Description | |
---|---|---|
buildUrl ( $page = null ) | ||
filmograf ( &$res, $type ) | Get filmography | |
getPage ( $page = null ) | ||
getUrlSuffix ( string $pageName ) : string | ||
parparse ( $name, &$res ) | Parse Trivia, Quotes, etc (same structs) | |
parsearticles ( &$res, $page, $title ) | Helper for article parsing | |
parsepubmovies ( &$res, $page, $header ) | Parse movie helper |
public __construct ( $id, |
||
$config | OPTIONAL override default config | |
$logger | Psr\Log\LoggerInterface | OPTIONAL override default logger |
$cache | CacheInterface | OPTIONAL override default cache |
public static fromSearchResults ( $id, $name, |
||
$config | ||
$logger | Psr\Log\LoggerInterface | |
$cache | CacheInterface |
public getSearchDetails ( ) : array | ||
return | array | SearchDetails (mid,name,role,moviename,year) |
protected getUrlSuffix ( string $pageName ) : string | ||
$pageName | string | internal name of the page |
return | string |
public interviews ( ) : array | ||
return | array | interviews array[0..n] of array[inturl,name,date,details,auturl,author] where all elements are strings - just date is an array[day,month,mon,year,full] (full: as displayed on the IMDB site) |
public movies_actor ( ) : array | ||
return | array | array[0..n][mid,name,year,title_type,chid,chname,addons], where chid is the character IMDB ID, chname the character name, and addons an array of additional remarks (the things in parenthesis) |
public movies_all ( ) : array | ||
return | array | array[0..n][mid,name,year,title_type,chid,chname,addons], where chid is the character IMDB ID, chname the character name, and addons an array of additional remarks (the things in parenthesis) |
public movies_archive ( ) : array | ||
return | array | array[0..n][mid,name,year,chid,chname], where chid is the character IMDB ID, and chname the character name |
public movies_crew ( ) : array | ||
return | array | array[0..n][mid,name,year] |
public movies_director ( ) : array | ||
return | array | array[0..n][mid,name,year] |
public movies_producer ( ) : array | ||
return | array | array[0..n][mid,name,year,title_type,chid,chname,addons], where chid is the character IMDB ID, chname the character name, and addons an array of additional remarks (the things in parenthesis) |
public movies_self ( ) : array | ||
return | array | array[0..n][mid,name,year,chid,chname], where chid is the character IMDB ID, and chname the character name |
public movies_soundtrack ( ) : array | ||
return | array | array[0..n][mid,name,year] |
public movies_thanx ( ) : array | ||
return | array | array[0..n][mid,name,year] |
public movies_writer ( ) : array | ||
return | array | array[0..n][mid,name,year,chid,chname], where chid is the character IMDB ID, and chname the character name |
protected parparse ( $name, &$res ) |
protected parsearticles ( &$res, $page, $title ) |
protected parsepubmovies ( &$res, $page, $header ) |
public photo_localurl ( $thumb = true ) : mixed | ||
return | mixed | url (string URL or FALSE if none) |
public pictorials ( ) : array | ||
return | array | pictorials array[0..n] of array[inturl,name,date,details,auturl,author] where all elements are strings - just date is an array[day,month,mon,year,full] (full: as displayed on the IMDB site) |
public pubportraits ( ) : array | ||
return | array | pubmovies array[0..n] of array[imdb,name,year] |
public setSearchDetails ( $role, $mid, $name, $year ) |
public spouse ( ) : array | ||
return | array | [0..n] of array spouses [string imdb, string name, array from, array to, string comment, string children], where from/to are array [day,month,mon,year] (month is the name, mon the number of the month), comment usually is "divorced" (ouch), children is the number of children |