Overview   Package   Tree   Index 
IMDBPHP
PREV  NEXT Frames  No Frame 
SUMMARY:  FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Api
Class imdb_trailers

- imdb_config
-

class imdb_trailers
extends imdb_base

Obtaining the URL of the trailer Flash Movie

Authors:
Ricardo Silva (banzap)
Version:
$Revision: 193 $ $Date: 2009-01-23 14:48:10 +0100 (Fr, 23. Jan 2009) $

Constructor Summary
void imdb_trailers()
Constructor: Nothing (yet)

Method Summary
array getAllTrailers(string $mid)
Get all possible trailers
array getAZMovieTrailers(string $url)
Retrieve trailers from azmovietrailers.
array getFlashCodeAllTrailers(string $url)
the URL of the trailer in http:www.alltrailers.net, this URL its obtained from the IMDB class, using the trailer function.
array getFlashCodeMovieMaze(string $url)
the URL of the trailer in http:www.moviemaze.de, this URL its obtained from the IMDB class, using the trailer function.
array getImdbTrailers(string $url)
Retrieve trailers from IMDB site
array getMoviePlayerTrailers(string $url)
Retrieve trailers from movieplayer.

Methods inherited from class imdb_base and not overridden
getWebPage, imdbid, openpage, purge, reset_vars, set_pagename, setid

Constructor Detail

imdb_trailers()

void imdb_trailers()

Constructor: Nothing (yet)


Method Detail

getAllTrailers()

array getAllTrailers(string $mid)

Get all possible trailers

Parameters:
mid - IMDB ID
Returns:
[0..n] of array[url,format] of movie trailers

getAZMovieTrailers()

array getAZMovieTrailers(string $url)

Retrieve trailers from azmovietrailers.com

Parameters:
url - page url as retrieved with imdb::trailers
Returns:
[0..n] of array[url,format] of movie trailers (Flash)

getFlashCodeAllTrailers()

array getFlashCodeAllTrailers(string $url)

Retrieve trailers from alltrailers.net

Parameters:
url - page url as retrieved with imdb::trailers
Returns:
[0..n] of array[url,format] of movie trailers (Flash)

getFlashCodeMovieMaze()

array getFlashCodeMovieMaze(string $url)

Retrieve trailer URLs from moviemaze.de

Parameters:
url - trailer url as retrieved with imdb::trailers
Returns:
[0..n] of array[url,format] of movie trailers (Flash or Quicktime)

getImdbTrailers()

array getImdbTrailers(string $url)

Retrieve trailers from IMDB site

Parameters:
url - page url as retrieved with imdb::trailers
Returns:
[0..n] of array[url,format] of movie trailers (Flash)

getMoviePlayerTrailers()

array getMoviePlayerTrailers(string $url)

Retrieve trailers from movieplayer.it (Italian)

Parameters:
url - page url as retrieved with imdb::trailers
Returns:
[0..n] of array[url,format] of movie trailers (Flash)

 Overview   Package   Tree   Index 
IMDBPHP
PREV  NEXT Frames  No Frame 
SUMMARY:  FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Submit a bug

This document was generated by phpdocgen 0.16.
Copyright © 2002-03 Stéphane GALLAND (under the GNU General Public License)