We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 376e38ef authored by Jonas Haraldsson's avatar Jonas Haraldsson

AlbumXML.php: Docs

parent 8cacda24
......@@ -22,8 +22,24 @@ require_once($install_path . '/database.php');
require_once($install_path . '/data/Album.php');
* Class with functions that returns XML-formatted data for albums.
* These functions are mainly used by web service methods.
* @package API
class AlbumXML {
* Get an album's Top Tags
* @param string $artist Name of the album's artist
* @param string $name Name of the album
* @param int $limit How many tags to return
* @param int $cache Caching period of request in seconds
* @return string XML-formatted data
public static function getTopTags($artist, $name, $limit, $cache) {
try {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment