| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 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 |
?> |
|---|