root/trunk/lib/sfFeed/sfFeedItem.class.php

Revision 2, 2.4 kB (checked in by fabien, 6 years ago)

initial import

  • Property svn:mime-type set to text/x-php
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
Line 
1 <?php
2
3 /*
4  * This file is part of the symfony package.
5  * (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
6  *
7  * For the full copyright and license information, please view the LICENSE
8  * file that was distributed with this source code.
9  */
10
11 /**
12  *
13  * @package    symfony
14  * @subpackage addon
15  * @author     Fabien Potencier <fabien.potencier@symfony-project.com>
16  * @version    SVN: $Id$
17  */
18 class sfFeedItem
19 {
20   private
21    $title,
22    $link,
23    $description,
24    $authorEmail,
25    $authorName,
26    $authorLink,
27    $pubdate,
28    $comments,
29    $uniqueId,
30    $enclosure,
31    $categories = array();
32
33   public function setFeedTitle ($title)
34   {
35     $this->title = $title;
36   }
37
38   public function getFeedTitle ()
39   {
40     return $this->title;
41   }
42
43   public function setFeedLink ($link)
44   {
45     $this->link = $link;
46   }
47
48   public function getFeedLink ()
49   {
50     return $this->link;
51   }
52
53   public function setFeedDescription ($description)
54   {
55     $this->description = $description;
56   }
57
58   public function getFeedDescription ()
59   {
60     return $this->description;
61   }
62
63   public function setFeedAuthorEmail ($authorEmail)
64   {
65     $this->authorEmail = $authorEmail;
66   }
67
68   public function getFeedAuthorEmail ()
69   {
70     return $this->authorEmail;
71   }
72
73   public function setFeedAuthorName ($authorName)
74   {
75     $this->authorName = $authorName;
76   }
77
78   public function getFeedAuthorName ()
79   {
80     return $this->authorName;
81   }
82
83   public function setFeedAuthorLink ($authorLink)
84   {
85     $this->authorLink = $authorLink;
86   }
87
88   public function getFeedAuthorLink ()
89   {
90     return $this->authorLink;
91   }
92
93   public function setFeedPubdate ($pubdate)
94   {
95     $this->pubdate = $pubdate;
96   }
97
98   public function getFeedPubdate ()
99   {
100     return $this->pubdate;
101   }
102
103   public function setFeedComments ($comments)
104   {
105     $this->comments = $comments;
106   }
107
108   public function getFeedComments ()
109   {
110     return $this->comments;
111   }
112
113   public function setFeedUniqueId ($uniqueId)
114   {
115     $this->uniqueId = $uniqueId;
116   }
117
118   public function getFeedUniqueId ()
119   {
120     return $this->uniqueId;
121   }
122
123   public function setFeedEnclosure ($enclosure)
124   {
125     $this->enclosure = $enclosure;
126   }
127
128   public function getFeedEnclosure ()
129   {
130     return $this->enclosure;
131   }
132
133   public function setFeedCategories ($categories)
134   {
135     $this->categories = $categories;
136   }
137
138   public function getFeedCategories ()
139   {
140     return $this->categories;
141   }
142 }
143
144 ?>
Note: See TracBrowser for help on using the browser.