$this->restrictions =
$restrictions;
$this->samplingrate =
$samplingrate;
$this->thumbnails =
$thumbnails;
$this->title =
$title;
$this->type =
$type;
$this->width =
$width;
if (class_exists('idna_convert'
)) { $idn =
new idna_convert();
$parsed = SimplePie_Misc::
parse_url($link);
$this->link = SimplePie_Misc::
compress_parse_url($parsed['scheme'
],
$idn->
encode($parsed['authority'
]),
$parsed['path'
],
$parsed['query'
],
$parsed['fragment'
]);
} $this->handler =
$this->
get_handler(); // Needs to load last
} /**
* String-ified version
*
* @return string
*/
public function __toString() {