PHP Class LastFMWeeklyAlbums, pubwich

Inheritance: extends LastFM
Mostra file Open project: remiprev/pubwich

Public Properties

Property Type Description
$albumdata

Public Methods

Method Description
__construct ( $config )
buildAlbumCache ( boolean $rebuildCache ) : void
buildAlbumId ( SimpleXMLElement $album ) : string
buildCache ( ) : void
fetchAlbum ( SimpleXMLElement $album, $rebuildCache = false ) : void
getData ( ) : SimpleXMLElement
getImage ( SimpleXMLElement $album ) : string
getYear ( SimpleXMLElement $album ) : string
init ( ) : LastFMWeeklyAlbums
populateItemTemplate ( &$item ) : array

Method Details

__construct() public method

public __construct ( $config )

buildAlbumCache() public method

public buildAlbumCache ( boolean $rebuildCache ) : void
$rebuildCache boolean Force cache rebuild
return void

buildAlbumId() public method

public buildAlbumId ( SimpleXMLElement $album ) : string
$album SimpleXMLElement
return string

buildCache() public method

public buildCache ( ) : void
return void

fetchAlbum() public method

public fetchAlbum ( SimpleXMLElement $album, $rebuildCache = false ) : void
$album SimpleXMLElement [@param bool $rebuildCache]
return void

getData() public method

public getData ( ) : SimpleXMLElement
return SimpleXMLElement

getImage() public method

public getImage ( SimpleXMLElement $album ) : string
$album SimpleXMLElement
return string

getYear() public method

public getYear ( SimpleXMLElement $album ) : string
$album SimpleXMLElement
return string

init() public method

public init ( ) : LastFMWeeklyAlbums
return LastFMWeeklyAlbums

populateItemTemplate() public method

public populateItemTemplate ( &$item ) : array
return array

Property Details

$albumdata public_oe property

public $albumdata