/** * Creates a new Zend_Feed_Writer_Entry data container for use. This is NOT * added to the current feed automatically, but is necessary to create a * container with some initial values preset based on the current feed data. * * @return Zend_Feed_Writer_Entry */ public function createEntry() { $entry = new Zend_Feed_Writer_Entry(); if ($this->getEncoding()) { $entry->setEncoding($this->getEncoding()); } $entry->setType($this->getType()); return $entry; }