1 | <?php |
||
12 | class LastFmController extends Controller |
||
13 | { |
||
14 | /** |
||
15 | * LastFm Object |
||
16 | * @var object; |
||
17 | */ |
||
18 | protected $lastfm; |
||
19 | |||
20 | /** |
||
21 | * Initialize the Controller with necessary arguments |
||
22 | */ |
||
23 | public function __construct() |
||
28 | |||
29 | /** |
||
30 | * Return all tweets to the Twitter API dashboard |
||
31 | * @return mixed |
||
32 | */ |
||
33 | public function getPage() |
||
45 | |||
46 | /** |
||
47 | * Get Artist Info |
||
48 | * @return array |
||
49 | */ |
||
50 | private function getArtistInfo() |
||
56 | |||
57 | /** |
||
58 | * Get Top Albums |
||
59 | * @return array |
||
60 | */ |
||
61 | private function getTopAlbums() |
||
67 | |||
68 | /** |
||
69 | * Get Top Tracks |
||
70 | * @return array |
||
71 | */ |
||
72 | private function getTopTracks() |
||
78 | } |
||
79 |