Season

This class handles all the data you can get from a Season
Methods Summary
public
# __construct( $data , $idTVShow = 0 )
Construct Class @param array $data An array with the data of the Season
public
# getID( )
Get the Season's id @return int
public
# getName( )
Get the Season's name @return string
public
# getTVShowID( )
Get the Season's TVShow id @return int
public
# getSeasonNumber( )
Get the Season's number @return int
public
# getNumEpisodes( )
Get the Season's number of episodes @return int
public
# getEpisode( $numEpisode )
Get a Seasons's Episode @param int $numEpisode The episode number
public
# getEpisodes( )
Get the Season's Episodes @return Episode[]
public
# getPoster( )
Get the Seasons's Poster @return string
public
# getAirDate( )
Get the Season's AirDate @return string
public
# get( $item = '' )
Get Generic.<br> Get a item of the array, you should not get used to use this, better use specific get's. @param string $item The item of the $data array you want
public
# getJSON( )
Get the JSON representation of the Season @return string