thirdparty/Zend/Feed/Builder/Entry.php
public function addEnclosure($url, $type = '', $length = '')
    {
        if (!$this->offsetExists('enclosure')) {
            $enclosure = array();
        } else {
            $enclosure = $this->offsetGet('enclosure');
        }
        $enclosure[] = array('url' => $url,
                             'type' => $type,
                             'length' => $length);
        $this->offsetSet('enclosure', $enclosure);
        return $this;
    }
public function addEnclosure($url, $type = '', $length = '')
    {
        if (!$this->offsetExists('enclosure')) {
            $enclosure = array();
        } else {
            $enclosure = $this->offsetGet('enclosure');
        }
        $enclosure[] = array('url' => $url,
                             'type' => $type,
                             'length' => $length);
        $this->offsetSet('enclosure', $enclosure);
        return $this;
    }
public function addEnclosure ( $ url , $ type = '' , $ length = '' ) { if ( ! $ this -> offsetExists ( 'enclosure' ) ) { $ enclosure = array ( ) ; } else { $ enclosure = $ this -> offsetGet ( 'enclosure' ) ; } $ enclosure [ ] = array ( 'url' => $ url , 'type' => $ type , 'length' => $ length ) ; $ this -> offsetSet ( 'enclosure' , $ enclosure ) ; return $ this ; }
Add an enclosure to the entry

@param  string $url
@param  string $type
@param  string $length
@return Zend_Feed_Builder_Entry
Add an enclosure to the entry