/lists.php

Description

This file contains a number of functions for accessing lists of popular music.

There are functions that return the most played, recently added, recently played, and top rated artists, albums, and songs, respectively.

These functions do not return objects. They are simply accessors that return the contents of a data file. Rather, they return arrays containing the primary keys for the relevant artists, albums and songs, as well as relevant data like play counts, dates, and ratings.

  • author: KavaSoft
Functions
most_played_albums (line 81)

Gets an array of the hundred most played albums.

  • return: an array of album arrays, with keys 'artist', 'album' and 'playCount'
array most_played_albums ()
most_played_artists (line 141)

Gets an array of the hundred most played artists.

  • return: an array of artist arrays, with keys 'artist' and 'playCount'
array most_played_artists ()
most_played_songs (line 21)

Gets an array of the hundred most played songs.

  • return: an array of song arrays, with keys 'artist', 'album', 'track' and 'playCount'
array most_played_songs ()
recently_added_albums (line 96)

Gets an array of the hundred most recently added albums.

  • return: an array of album arrays, with keys 'artist', 'album' and 'dateAdded'
array recently_added_albums ()
recently_added_artists (line 156)

Gets an array of the hundred most recently added artists.

  • return: an array of artist arrays, with keys 'artist' and 'dateAdded'
array recently_added_artists ()
recently_added_songs (line 36)

Gets an array of the hundred most recently added songs.

  • return: an array of song arrays, with keys 'artist', 'album', 'track' and 'dateAdded'
array recently_added_songs ()
recently_played_albums (line 111)

Gets an array of the hundred most recently played albums.

  • return: an array of album arrays, with keys 'artist', 'album' and 'datePlayed'
array recently_played_albums ()
recently_played_artists (line 171)

Gets an array of the hundred most recently played artists.

  • return: an array of artist arrays, with keys 'artist' and 'datePlayed'
array recently_played_artists ()
recently_played_songs (line 51)

Gets an array of the hundred most recently played songs.

  • return: an array of song arrays, with keys 'artist', 'album', 'track' and 'datePlayed'
array recently_played_songs ()
top_rated_albums (line 126)

Gets an array of the hundred top rated albums.

  • return: an array of album arrays, with keys 'artist', 'album' and 'rating'
array top_rated_albums ()
top_rated_artists (line 186)

Gets an array of the hundred top rated artists.

  • return: an array of artist arrays, with keys 'artist' and 'rating'
array top_rated_artists ()
top_rated_songs (line 66)

Gets an array of the hundred top rated songs.

  • return: an array of song arrays, with keys 'artist', 'album', 'track' and 'rating'
array top_rated_songs ()

Documentation generated on Sun, 12 Feb 2006 19:27:53 +0100 by phpDocumentor 1.2.3