Class TV_Show

Description

Base class for interacting with TV shows

Located in /TVDB/TV_Show.class.php (line 9)

TVDB
   |
   --TV_Show
Variable Summary
array $actors
string $airTime
string $dayOfWeek
array $genres
integer|string $id
string $imdbId
string $network
string $overview
string $rating
string $runtime
string $seriesName
string $status
string $zap2ItId
Method Summary
void __construct (SimpleXMLObject $config)
TV_Episode getEpisode ( $season,  $episode)
Variables
array $actors (line 73)

Array of actor names

  • var: contains array of actors (strings)
  • access: public
string $airTime (line 97)

Time the tv show airs

  • access: public
string $dayOfWeek (line 89)

Day of the week the TV show airs (Sunday, Monday, ...)

  • access: public
int $firstAired (line 41)

First air date

  • var: Time in seconds since the epoc
  • access: public
array $genres (line 65)

Array of genres the tv show is (strings)

  • var: contains array of genres (strings)
  • access: public
integer|string $id (line 17)

thetvdb.com show id

  • access: public
string $imdbId (line 113)

IMDB's id for the tv show (http://imdb.com/title/$imdbId)

  • access: public
string $network (line 49)

TV Network the show is on

  • access: public
string $overview (line 81)

Overview of the TV Show

  • access: public
string $rating (line 105)

Rating of the tv show

  • access: public
string $runtime (line 57)

TV show runtime. Various formats (60 minutes, 30 mins)

  • access: public
string $seriesName (line 25)

Name of the TV show

  • access: public
string $status (line 33)

Current status of the TV Show. Values are 'Ended', 'Continuing' (other unknown values possible)

  • access: public
string $zap2ItId (line 121)

Zap2It's id for the tv show (not sure how it is used yet)

  • access: public
Methods
Constructor __construct (line 131)

Constructor

  • access: public
void __construct (SimpleXMLObject $config)
  • SimpleXMLObject $config: A simplexmlobject created from thetvdb.com's xml data for the tv show
getEpisode (line 157)

Get a specific episode by season and episode number

  • var: required the season number
  • access: public
TV_Episode getEpisode ( $season,  $episode)
  • $season
  • $episode

Inherited Methods

Inherited From TVDB

TVDB::fetchData()
TVDB::removeEmptyIndexes()
TVDB::request()
Class Constants

Inherited Constants

Inherited from TVDB

TVDB::apiKey
TVDB::apiUrl

Documentation generated on Wed, 26 Mar 2008 22:32:01 -0700 by phpDocumentor 1.4.0