/**
  * Constructor
  * @param string $title
  * @param string $url
  * @param array $tags
  * @param DateTime $date
  * @param string $notes
  * @param Zend_Config $config
  */
 public function __construct($title, $url, $tags, DateTime $date, $notes, Zend_Config $config)
 {
     self::$_instances++;
     // used for calculating UIDs.
     $this->_title = $title;
     $this->_url = $url;
     $this->_date = $date;
     $this->_notes = $notes;
     $this->_tags = $tags;
     parent::__construct($config);
 }
Example #2
0
 public function __construct(Zend_Feed_Reader_EntryInterface $entry, Zend_Config $config)
 {
     $this->_entry = $entry;
     parent::__construct($config);
 }