|
Moodle
2.2.1
http://www.collinsharper.com
|
Definition at line 38 of file Audioscrobbler.php.
| __construct | ( | ) |
Sets up character encoding, instantiates the HTTP client, and assigns the web service version.
Definition at line 68 of file Audioscrobbler.php.
| __call | ( | $ | method, |
| $ | args | ||
| ) |
Call Intercept for set($name, $field)
| string | $method | |
| array | $args |
Definition at line 661 of file Audioscrobbler.php.
| _errorHandler | ( | $ | errno, |
| $ | errstr, | ||
| $ | errfile, | ||
| $ | errline, | ||
| array $ | errcontext | ||
| ) | [protected] |
Saves the provided error information to this instance
| integer | $errno | |
| string | $errstr | |
| string | $errfile | |
| integer | $errline | |
| array | $errcontext |
Definition at line 643 of file Audioscrobbler.php.
| _getInfo | ( | $ | service, |
| $ | params = null |
||
| ) | [protected] |
Protected method that queries REST service and returns SimpleXML response set
| string | $service | name of Audioscrobbler service file we're accessing |
| string | $params | parameters that we send to the service if needded |
| Zend_Http_Client_Exception | |
| Zend_Service_Exception |
Definition at line 149 of file Audioscrobbler.php.


| albumGetInfo | ( | ) |
Get information about an album
Definition at line 485 of file Audioscrobbler.php.

Utility function that returns a list of artists similiar to this artist
Definition at line 429 of file Audioscrobbler.php.

Utility function that returns a list of this artist's top-rated albums
Definition at line 462 of file Audioscrobbler.php.

| artistGetTopFans | ( | ) |
Utility function that returns a list of this artist's top listeners
Definition at line 440 of file Audioscrobbler.php.

| artistGetTopTags | ( | ) |
Utility function that returns a list of this artist's top-rated tags
Definition at line 473 of file Audioscrobbler.php.

Utility function that returns a list of this artist's top-rated tracks
Definition at line 451 of file Audioscrobbler.php.

| get | ( | $ | field | ) |
Returns a field value, or false if the named field does not exist
| string | $field |
Definition at line 116 of file Audioscrobbler.php.
| getHttpClient | ( | ) |
Get current http client.
Definition at line 92 of file Audioscrobbler.php.


| groupGetWeeklyAlbumChartList | ( | $ | from = NULL, |
| $ | to = NULL |
||
| ) |
Retrieve Weekly album charts.
| int | $from | |
| int | $to |
Definition at line 619 of file Audioscrobbler.php.

| groupGetWeeklyArtistChartList | ( | $ | from = NULL, |
| $ | to = NULL |
||
| ) |
Retrieve weekly Artist Charts
| int | $from | |
| int | $to |
Definition at line 576 of file Audioscrobbler.php.

Get weekly chart list by current set group.
Definition at line 563 of file Audioscrobbler.php.

| groupGetWeeklyTrackChartList | ( | $ | from = NULL, |
| $ | to = NULL |
||
| ) |
Retrieve Weekly Track Charts
| int | $from | |
| int | $to |
Definition at line 598 of file Audioscrobbler.php.

| lazyLoadHttpClient | ( | ) | [protected] |
Lazy load Http Client if none is instantiated yet.
Definition at line 105 of file Audioscrobbler.php.

| set | ( | $ | field, |
| $ | value | ||
| ) |
Generic set action for a field in the parameters being used
| string | $field | name of field to set |
| string | $value | value to assign to the named field |
Definition at line 132 of file Audioscrobbler.php.
| setHttpClient | ( | Zend_Http_Client $ | client | ) |
Set Http Client
| Zend_Http_Client | $client |
Definition at line 82 of file Audioscrobbler.php.
| tagGetTopAlbums | ( | ) |
Get top albums by current tag.
Definition at line 529 of file Audioscrobbler.php.

| tagGetTopArtists | ( | ) |
Get top artists by current tag.
Definition at line 540 of file Audioscrobbler.php.

| tagGetTopTags | ( | ) |
Get Top Tags.
Definition at line 518 of file Audioscrobbler.php.

| tagGetTopTracks | ( | ) |
Get Top Tracks by currently set tag.
Definition at line 551 of file Audioscrobbler.php.

| trackGetTopFans | ( | ) |
Get top fans of the current track.
Definition at line 496 of file Audioscrobbler.php.

| trackGetTopTags | ( | ) |
Get top tags of the current track.
Definition at line 507 of file Audioscrobbler.php.

| userGetFriends | ( | ) |
Utility function that retrieves this user's list of friends
Definition at line 296 of file Audioscrobbler.php.

Utility function that returns a list of people with similar listening preferences to this user
Definition at line 307 of file Audioscrobbler.php.

Utility function to get Audioscrobbler profile information (eg: Name, Gender)
Definition at line 207 of file Audioscrobbler.php.

Utility function that returns a list of the 10 tracks most recently banned by this user
Definition at line 329 of file Audioscrobbler.php.

Utility function that returns a list of the 10 tracks most recently loved by this user
Definition at line 340 of file Audioscrobbler.php.

Utility function that returns a list of the 10 most recent tracks played by this user
Definition at line 318 of file Audioscrobbler.php.

| userGetTopAlbums | ( | ) |
Utility function to get this user's 50 most played albums
Definition at line 229 of file Audioscrobbler.php.

Utility function get this user's 50 most played artists
Definition at line 218 of file Audioscrobbler.php.

| userGetTopTags | ( | ) |
Utility function to get this user's 50 most used tags
Definition at line 250 of file Audioscrobbler.php.

Utility function that returns this user's top tags for an album
Definition at line 273 of file Audioscrobbler.php.

Utility function that returns the user's top tags used most used on a specific artist
Definition at line 261 of file Audioscrobbler.php.

Utility function that returns this user's top tags for a track
Definition at line 285 of file Audioscrobbler.php.

| userGetTopTracks | ( | ) |
Utility function to get this user's 50 most played tracks
Definition at line 239 of file Audioscrobbler.php.

| userGetWeeklyAlbumChart | ( | $ | from = NULL, |
| $ | to = NULL |
||
| ) |
Utility function that returns weekly album chart data for this user
| integer | $from | optional UNIX timestamp for start of date range |
| integer | $to | optional UNIX timestamp for end of date range |
Definition at line 367 of file Audioscrobbler.php.

| userGetWeeklyArtistChart | ( | $ | from = NULL, |
| $ | to = NULL |
||
| ) |
Utility function that returns weekly artist chart data for this user
| integer | $from | optional UNIX timestamp for start of date range |
| integer | $to | optional UNIX timestamp for end of date range |
Definition at line 388 of file Audioscrobbler.php.

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
Definition at line 353 of file Audioscrobbler.php.

| userGetWeeklyTrackChart | ( | $ | from = NULL, |
| $ | to = NULL |
||
| ) |
Utility function that returns weekly track chart data for this user
| integer | $from | optional UNIX timestamp for start of date range |
| integer | $to | optional UNIX timestamp for end of date range |
Definition at line 409 of file Audioscrobbler.php.

$_client [protected] |
Definition at line 46 of file Audioscrobbler.php.
$_error = null [protected] |
Definition at line 62 of file Audioscrobbler.php.
$_params [protected] |
Definition at line 54 of file Audioscrobbler.php.