silverstripe-framework/tests/php/Control/RSS/RSSFeedTest/ItemB.php
2016-11-23 19:25:12 +13:00

31 lines
431 B
PHP

<?php
namespace SilverStripe\Control\Tests\RSS\RSSFeedTest;
use SilverStripe\View\ViewableData;
class ItemB extends ViewableData
{
// ItemB tests without $casting
public function Title()
{
return "ItemB";
}
public function AbsoluteLink()
{
return "http://www.example.com/item-b.html";
}
public function Content()
{
return "ItemB Content";
}
public function AltContent()
{
return "ItemB AltContent";
}
}