public function setEncloser($url, $length, $type)
    {
        $attributes = array('url' => $url, 'length' => $length, 'type' => $type);
        $this->addElement('enclosure', '', $attributes);
    }
public function setEncloser($url, $length, $type)
    {
        $attributes = array('url' => $url, 'length' => $length, 'type' => $type);
        $this->addElement('enclosure', '', $attributes);
    }
public function setEncloser ( $ url , $ length , $ type ) { $ attributes = array ( 'url' => $ url , 'length' => $ length , 'type' => $ type ) ; $ this -> addElement ( 'enclosure' , '' , $ attributes ) ; }
Set the 'encloser' element of feed item
For RSS 2.0 only

@param string $url     The url attribute of encloser tag
@param string $length  The length attribute of encloser tag
@param string $type    The type attribute of encloser tag
@return void
Set the encloser element of feed item For RSS 2 . 0 only