Contents

<?php
/*************************************************************
* This script is developed by Arturs Sosins aka ar2rsawseen, http://webcodingeasy.com
* Fee free to distribute and modify code, but keep reference to its creator
*
* This class uses IMDB API from http://imdbapi.poromenos.org/ which is
* database of TV series and Episodes updated every day from IMDB interface files
* This class can search for TV series by exact names or similar names or
* combined method, return list of episodes and restructure it by seasons
* and output restructured array with simple hide/show ability using javascript
* It can also check if episode exists in specified TV series, so you can
* use it as dictionary to rename your existing episodes etc.
*
* For more information, examples and online documentation visit:
* http://webcodingeasy.com/PHP-classes/Episode-tracker-class
**************************************************************/

//This is an example usage of Episode tracker class
//There are two type of arrays used in this class
//First type is an episode list in random order, just for dictionary purpose
//Other is restructured array where episodes are grouped in right order by seasons
//There is also an example of using print_episodes method with hide/show ablity

/*---------------------------------------------------------------------*/
//Using get_episodes method which automatically checks for exact matches and then for similar matches if no exact founds
//and returns restructured array (like after transform method) of episodes of TV series that ar most similar to specified one

/*---------------------------------------------------------------------*/
//Checking if episode with wildcard %name% exists in TV series
//if exists returns array with all episodes mathicng wildcard with exact episode name, season and episode numbers