ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilFeedItem.php
Go to the documentation of this file.
1<?php
2/*
3 +-----------------------------------------------------------------------------+
4 | ILIAS open source |
5 +-----------------------------------------------------------------------------+
6 | Copyright (c) 1998-2006 ILIAS open source, University of Cologne |
7 | |
8 | This program is free software; you can redistribute it and/or |
9 | modify it under the terms of the GNU General Public License |
10 | as published by the Free Software Foundation; either version 2 |
11 | of the License, or (at your option) any later version. |
12 | |
13 | This program is distributed in the hope that it will be useful, |
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16 | GNU General Public License for more details. |
17 | |
18 | You should have received a copy of the GNU General Public License |
19 | along with this program; if not, write to the Free Software |
20 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
21 +-----------------------------------------------------------------------------+
22*/
23
24
32{
33 private $about;
34 private $title;
35 private $link;
36 private $description;
37
43 public function setAbout($a_About)
44 {
45 $this->about = $a_About;
46 }
47
53 public function getAbout()
54 {
55 return $this->about;
56 }
57
63 public function setTitle($a_Title)
64 {
65 $this->title = $a_Title;
66 }
67
73 public function getTitle()
74 {
75 return $this->title;
76 }
77
83 public function setLink($a_Link)
84 {
85 $this->link = $a_Link;
86 }
87
93 public function getLink()
94 {
95 return $this->link;
96 }
97
103 public function setDescription($a_Description)
104 {
105 $this->description = $a_Description;
106 }
107
113 public function getDescription()
114 {
115 return $this->description;
116 }
117
123 public function setEnclosureUrl($a_enclosureurl)
124 {
125 $this->enclosureurl = $a_enclosureurl;
126 }
127
133 public function getEnclosureUrl()
134 {
135 return $this->enclosureurl;
136 }
137
143 public function setEnclosureType($a_enclosuretype)
144 {
145 $this->enclosuretype = $a_enclosuretype;
146 }
147
153 public function getEnclosureType()
154 {
155 return $this->enclosuretype;
156 }
157
163 public function setEnclosureLength($a_enclosurelength)
164 {
165 $this->enclosurelength = $a_enclosurelength;
166 }
167
173 public function getEnclosureLength()
174 {
175 return $this->enclosurelength;
176 }
177
183 public function setDate($a_date)
184 {
185 $this->date = $a_date;
186 }
187
193 public function getDate()
194 {
195 return $this->date;
196 }
197}
An exception for terminatinating execution or to throw for unit testing.
A FeedItem represents an item in a News Feed.
setEnclosureLength($a_enclosurelength)
Set Enclosure Length.
setEnclosureUrl($a_enclosureurl)
Set Enclosure URL.
getAbout()
Get About.
setDescription($a_Description)
Set Description.
getDescription()
Get Description.
setLink($a_Link)
Set Link.
getEnclosureLength()
Get Enclosure Length.
getEnclosureUrl()
Get Enclosure URL.
setEnclosureType($a_enclosuretype)
Set Enclosure Type.
getLink()
Get Link.
setTitle($a_Title)
Set Title.
setDate($a_date)
Set Date.
getDate()
Get Date.
getEnclosureType()
Get Enclosure Type.
setAbout($a_About)
Set About.
getTitle()
Get Title.