additional_plugins/alpha/serendipity_plugin_heavyrotation/lib/album.php
Matthias Mees 40b527040d Deprecate broken plugins
- serendipity_event_communityrating (sidebar plugin throws a
  frontend error)
- serendipity_plugin_pagerank (throws a frontend error)
- serendipity_plugin_heavyrotation (throws a frontend error)
- serendipity_plugin_shoutcast (throws errors in frontend and
  backend)
2017-05-08 09:57:06 +02:00

49 lines
869 B
PHP

<?php
/**
* Simple album object
*
* @author Lars Strojny <lars@strojny.net>
*/
class serendipity_plugin_heavyrotation_album
{
/**
* Artist name
*
* @var string
*/
public $artist;
/**
* Album name
*
* @var string
*/
public $name;
/**
* Album image (binary data)
*
* @var string
*/
public $image;
/**
* URL in last.fm (breaks solid OOP, I know)
*
* @var string
*/
public $url;
/**
* Setup object. Provides convenience to pass all params in one line
*
* @return serendipity_plugin_heavyrotation_album
*/
public function __construct($artist = null, $name = null, $image = null, $url = null)
{
$this->artist = $artist;
$this->name = $name;
$this->image = $image;
$this->url = $url;
}
}