public function __construct($config) { $config['url'] = sprintf('http://gdata.youtube.com/feeds/api/users/%s/favorites?v=2', $config['username']); $config['link'] = 'http://www.youtube.com/user/' . $config['username'] . '#p/f'; parent::__construct($config); }