/**
* Generate an RSS <enclosure/> element.
*/
- public static function generate_enclosure($url) {
+ public static function generateEnclosure($url) {
$supported_content_types = array(
"application/ogg",
"audio/aac",
$xsltProcessor = new XSLTProcessor();
$xsltProcessor->registerPHPFunctions();
- $xsltProcessor->setParameter('', 'generateEnclosure', $this->generate_enclosure);
+ $xsltProcessor->setParameter('', 'generate-enclosure', $this->generate_enclosure);
$xsltProcessor->importStylesheet($xslDoc);
return $xsltProcessor;