public function setContent($content)
    {
        if ($this->version != Feed::ATOM)
            throw new InvalidOperationException('The content element is supported in ATOM feeds only.');

        return $this->addElement('content', $content, array('type' => 'html'));
    }
public function setContent($content)
    {
        if ($this->version != Feed::ATOM)
            throw new InvalidOperationException('The content element is supported in ATOM feeds only.');

        return $this->addElement('content', $content, array('type' => 'html'));
    }
public function setContent ( $ content ) { if ( $ this -> version != Feed :: ATOM ) throw new InvalidOperationException ( 'The content element is supported in ATOM feeds only.' ) ; return $ this -> addElement ( 'content' , $ content , array ( 'type' => 'html' ) ) ; }
Set the 'content' element of the feed item
For ATOM feeds only

@access   public
@param    string $content Content for the item (i.e., the body of a blog post).
@return   self
@throws   InvalidOperationException if this method is called on non-ATOM feeds.
Set the content element of the feed item For ATOM feeds only