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

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

Inheritance diagram for playlistM3u:
aPlaylist iPlaylist

Public Member Functions

 __construct ()
 Class constructor Initialize the object.
 
 addService ()
 addService() function Add a service to the m3u playlist
 
 footer ()
 footer() function Add footer (terminator) of m3u 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 m3u 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

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

Member Function Documentation

◆ _header()

playlistM3u::_header ( )
protected

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

Reimplemented from aPlaylist.

◆ addService()

playlistM3u::addService ( )

addService() function Add a service to the m3u playlist

Parameters
stringname Service name
stringaddress Service address

Implements iPlaylist.

◆ footer()

playlistM3u::footer ( )

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

Implements iPlaylist.


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