/** * Initialize a Movie Collection * * I haven't overided the constructer, but by overiding this method, I can add support for other APIs */ protected function initializeAPIs() { parent::initializeAPIs(); }
/** * Initialize a Music Collection * * I haven't overided the constructer, but by overiding this method, I can add support for other APIs */ protected function initializeAPIs() { parent::initializeAPIs(); $this->lastFMAPI = new lastfmApi(); $this->lastFMAuthority = new lastfmApiAuth('setsession', musicCollection::$lastFMVariables); $this->theBrainz = new phpBrainz(); }