Dreambox
Dreambox Enigma2 playlist extractor and transformer
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
playlistXspf Class Reference

playlistXspf class Extends the abstract class aPlaylist Generates a playlist in xspf format When adding services is finished, it is necessary to finish it by calling the footer() function More...

Inheritance diagram for playlistXspf:
aPlaylist iPlaylist

Public Member Functions

 __construct ()
 Class constructor Initialize the object.
 
 addService ()
 addService() function Add a service to the xspf playlist
 
 footer ()
 footer() function Add footer (terminator) of xspf playlist
 
- Public Member Functions inherited from aPlaylist
 getExtension ()
 getExtension() function _extension variable getter
 
 __toString ()
 __tostring() magic method Returns the content of the playlist
 
 addService ()
 addService() Function Adds a service to the playlist
 
 getExtension ()
 getExtension($ext) function _extension variable getter
 
 footer ()
 Función footer() Add the footer (terminator) of the playlist.
 

Protected Member Functions

 _header ()
 _header() function Initializes the playlist with the appropriate header for the xspf format
 
- Protected Member Functions inherited from aPlaylist
 _header ()
 _header() function Initializes the playlist with the appropriate header for the format
 
 _setExtension ($ext)
 _setExtension($ext) function _extension variable setter
 

Additional Inherited Members

- Protected Attributes inherited from aPlaylist
string $_extension
 Playlist extension string.
 
string $_playlist
 Playlist string.
 

Detailed Description

playlistXspf class Extends the abstract class aPlaylist Generates a playlist in xspf format When adding services is finished, it is necessary to finish it by calling the footer() function

Member Function Documentation

◆ _header()

playlistXspf::_header ( )
protected

_header() function Initializes the playlist with the appropriate header for the xspf format

Reimplemented from aPlaylist.

◆ addService()

playlistXspf::addService ( )

addService() function Add a service to the xspf playlist

Parameters
stringname Service name
stringaddress Service address

Implements iPlaylist.

◆ footer()

playlistXspf::footer ( )

footer() function Add footer (terminator) of xspf playlist

Implements iPlaylist.


The documentation for this class was generated from the following file: