Class ProgramGuide

Description

Located in /ProgramGuide.class.php (line 3)


	
			
Variable Summary
Method Summary
ProgramGuide __construct (string $pIP, string $pType, [mixed $pAuthentication = array()])
void addProgram (string $pChannelID, Program $pProgramObj)
Channel getCurrentProgram (mixed $pChannelID)
string getGuideUrl ()
void loadProgramGuide (string $pChannelID, [boolean $pRenew = false])
void searchProgram (mixed $pProgramID)
void sortOnStartTime ()
Variables
array $lAuthentication (line 44)
  • access: private
string $lIPNummer (line 14)
  • access: private
array $lPrograms (line 26)
  • access: private
int $lProgramsCount (line 38)
  • access: private
int $lProgramsQueueCounter (line 32)
  • access: private
string $lType (line 20)
  • access: private
Methods
Constructor __construct (line 52)

Constructor.

Constructor. This creates a ProgramGuide object.

  • access: public
ProgramGuide __construct (string $pIP, string $pType, [mixed $pAuthentication = array()])
  • string $pIP
  • string $pType
addProgram (line 148)

Add a program to a channel.

Add a program to a channel. Every channel has its own programs array.

  • access: public
void addProgram (string $pChannelID, Program $pProgramObj)
  • string $pChannelID
  • Program $pProgramObj
getCurrentProgram (line 183)

Get the current program based on current time.

Get the current program based on current time.

  • access: public
Channel getCurrentProgram (mixed $pChannelID)
getGuideUrl (line 66)

Get the programs url for a channel.

Get the programs url for a channel.

  • access: private
string getGuideUrl ()
getNextProgram (line 171)

Get the next program from the program guide.

Get the next program from the program guide.

  • access: public
Channel getNextProgram ()
getProgramsCount (line 156)

Get the total programs inside a program guide.

Get the total programs inside a program guide.

  • access: public
int getProgramsCount ()
loadProgramGuide (line 89)

Load the program guide by adding programs to the array.

Load the program guide by adding programs to the array. It also resets the internal counter.

  • access: public
void loadProgramGuide (string $pChannelID, [boolean $pRenew = false])
  • string $pChannelID
  • boolean $pRenew
resetProgramsCounter (line 163)

Reset the internal program counter.

Reset the internal program counter.

  • access: public
void resetProgramsCounter ()
searchProgram (line 194)
  • access: public
void searchProgram (mixed $pProgramID)
sortOnStartTime (line 139)

Sort the programs based in start time

Sort the programs based in start time

  • access: private
  • todo: Make sorting based in start time
void sortOnStartTime ()

Documentation generated on Tue, 24 Jun 2008 18:59:36 +0200 by phpDocumentor 1.3.0RC3