mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
31 lines
431 B
PHP
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";
|
||
|
}
|
||
|
}
|