MP3_Playlist
[ class tree: MP3_Playlist ] [ index: MP3_Playlist ] [ all elements ]

Class: MP3_Playlist_RSS

Source Location: /MP3_Playlist-0.5.2/MP3/Playlist/RSS.php

Class Overview

MP3_Playlist_Common
   |
   --MP3_Playlist_RSS

Class MP3_Playlist_RSS, generates the playlist RSS feed.


Author(s):

Version:

  • Release: 0.5.2

Copyright:

  • 2004-2005 David Costa

Variables

Methods


Inherited Variables

Inherited Methods

Class: MP3_Playlist_Common

MP3_Playlist_Common::__construct()
Constructor
MP3_Playlist_Common::make()
Generates the playlist.
MP3_Playlist_Common::save()
Save the generates playlist into file.
MP3_Playlist_Common::send()
Send the generated playlist to browser direclty.
MP3_Playlist_Common::show()
Show the generated playlist result.

Class Details

[line 58]
Class MP3_Playlist_RSS, generates the playlist RSS feed.


[ Top ]


Class Variables

$fileExtension =  'rss'

[line 72]

File extension (without dot).
  • Access: protected

Type:   string
Overrides:   Array


[ Top ]

$isRequiredMerged =  true

[line 78]

RSS required the merged list.
  • Access: protected

Type:   bool
Overrides:   Array


[ Top ]

$mimeType =  'application/xml'

[line 66]

Mime type of output.
  • Access: protected

Type:   string
Overrides:   Array


[ Top ]



Method Detail

make   [line 100]

bool make( [array $params = array()])

Generate a valid RSS feed from a playlist

User should define as parameters the title of the feed description and link for each song the rss produced will include the title and link and keep within the description the other information available namely the album, artist, and genre.

  • Return: TRUE
  • Access: public

Overrides MP3_Playlist_Common::make() (Generates the playlist.)

Parameters:

array   $params   —  Make parameters.
 title        string  Feed main title
 description  string  Feed description
 link         string  Link main description

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:39:05 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.