mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
#1956 - Show Title in RSSFeed
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49177 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
9a68af98cd
commit
7917df81ed
@ -13,6 +13,14 @@
|
||||
* @subpackage integration
|
||||
*/
|
||||
class RSSFeed extends ViewableData {
|
||||
/**
|
||||
* Casting information for this object's methods.
|
||||
* Let's us use $Title.XML in templates
|
||||
*/
|
||||
public static $casting = array(
|
||||
"Title" => "Varchar",
|
||||
"Description" => "Varchar",
|
||||
);
|
||||
|
||||
/**
|
||||
* Holds the feed entries
|
||||
@ -57,7 +65,7 @@ class RSSFeed extends ViewableData {
|
||||
protected $descriptionField;
|
||||
|
||||
/**
|
||||
Name of the author field of feed entries
|
||||
* Name of the author field of feed entries
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
@ -197,7 +205,6 @@ class RSSFeed extends ViewableData {
|
||||
* @subpackage integration
|
||||
*/
|
||||
class RSSFeed_Entry extends ViewableData {
|
||||
|
||||
/**
|
||||
* The object that represents the item, it contains all the data.
|
||||
*
|
||||
@ -220,7 +227,7 @@ class RSSFeed_Entry extends ViewableData {
|
||||
protected $descriptionField;
|
||||
|
||||
/**
|
||||
Name of the author field of feed entries
|
||||
* Name of the author field of feed entries
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user