Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Zend_Http_Client $_client = ''
Zend_Http_Client Object
array $_error = 'null'
Holds error information (e.g., for handling simplexml_load_string() warnings)
array $_params = ''
Array that contains parameters being used by the webservice
__call(
string $method, array $args
)
:
Zend_Service_Audioscrobbler
Call Intercept for set($name, $field)
__construct(
)
:
Sets up character encoding, instantiates the HTTP client, and assigns the web service version.
_errorHandler(
integer $errno, string $errstr, string $errfile, integer $errline, array $errcontext
)
:
void
Saves the provided error information to this instance
_getInfo(
string $service, string $params
=
null
)
:
SimpleXMLElement
Protected method that queries REST service and returns SimpleXML response set
albumGetInfo(
)
:
SimpleXMLElement
Get information about an album
artistGetRelatedArtists(
)
:
SimpleXMLElement
Utility function that returns a list of artists similiar to this artist
artistGetTopAlbums(
)
:
SimpleXMLElement
Utility function that returns a list of this artist's top-rated albums
artistGetTopFans(
)
:
SimpleXMLElement
Utility function that returns a list of this artist's top listeners
artistGetTopTags(
)
:
SimpleXMLElement
Utility function that returns a list of this artist's top-rated tags
artistGetTopTracks(
)
:
SimpleXMLElement
Utility function that returns a list of this artist's top-rated tracks
get(
string $field
)
:
string|false
Returns a field value, or false if the named field does not exist
getHttpClient(
)
:
Zend_Http_Client
Get current http client.
groupGetWeeklyAlbumChartList(
int $from
=
NULL, int $to
=
NULL
)
:
SimpleXMLElement
Retrieve Weekly album charts.
groupGetWeeklyArtistChartList(
int $from
=
NULL, int $to
=
NULL
)
:
SimpleXMLElement
Retrieve weekly Artist Charts
groupGetWeeklyChartList(
)
:
SimpleXMLElement
Get weekly chart list by current set group.
groupGetWeeklyTrackChartList(
int $from
=
NULL, int $to
=
NULL
)
:
SimpleXMLElement
Retrieve Weekly Track Charts
lazyLoadHttpClient(
)
:
void
Lazy load Http Client if none is instantiated yet.
set(
string $field, string $value
)
:
Zend_Service_Audioscrobbler
Generic set action for a field in the parameters being used
setHttpClient(
Zend_Http_Client $client
)
:
Set Http Client
tagGetTopAlbums(
)
:
SimpleXMLElement
Get top albums by current tag.
tagGetTopArtists(
)
:
SimpleXMLElement
Get top artists by current tag.
tagGetTopTags(
)
:
SimpleXMLElement
Get Top Tags.
tagGetTopTracks(
)
:
SimpleXMLElement
Get Top Tracks by currently set tag.
trackGetTopFans(
)
:
SimpleXMLElement
Get top fans of the current track.
trackGetTopTags(
)
:
SimpleXMLElement
Get top tags of the current track.
userGetFriends(
)
:
SimpleXMLElement
Utility function that retrieves this user's list of friends
userGetNeighbours(
)
:
SimpleXMLElement
Utility function that returns a list of people with similar listening preferences to this user
userGetProfileInformation(
)
:
array
Utility function to get Audioscrobbler profile information (eg: Name, Gender)
userGetRecentBannedTracks(
)
:
SimpleXMLElement
Utility function that returns a list of the 10 tracks most recently banned by this user
userGetRecentLovedTracks(
)
:
SimpleXMLElement
Utility function that returns a list of the 10 tracks most recently loved by this user
userGetRecentTracks(
)
:
SimpleXMLElement
Utility function that returns a list of the 10 most recent tracks played by this user
userGetTopAlbums(
)
:
SimpleXMLElement
Utility function to get this user's 50 most played albums
userGetTopArtists(
)
:
array
Utility function get this user's 50 most played artists
userGetTopTags(
)
:
SimpleXMLElement
Utility function to get this user's 50 most used tags
userGetTopTagsForAlbum(
)
:
SimpleXMLElement
Utility function that returns this user's top tags for an album
userGetTopTagsForArtist(
)
:
SimpleXMLElement
Utility function that returns the user's top tags used most used on a specific artist
userGetTopTagsForTrack(
)
:
SimpleXMLElement
Utility function that returns this user's top tags for a track
userGetTopTracks(
)
:
SimpleXML
Utility function to get this user's 50 most played tracks
userGetWeeklyAlbumChart(
integer $from
=
NULL, integer $to
=
NULL
)
:
SimpleXMLElement
Utility function that returns weekly album chart data for this user
userGetWeeklyArtistChart(
integer $from
=
NULL, integer $to
=
NULL
)
:
SimpleXMLElement
Utility function that returns weekly artist chart data for this user
userGetWeeklyChartList(
)
:
SimpleXMLElement
Utility function that returns a list of dates of available weekly charts for a this user
Should actually be named userGetWeeklyChartDateList() but we have to follow audioscrobbler's naming
userGetWeeklyTrackChart(
integer $from
=
NULL, integer $to
=
NULL
)
:
SimpleXMLElement
Utility function that returns weekly track chart data for this user