mirror of
https://github.com/wilr/silverstripe-googlesitemaps.git
synced 2024-10-22 11:05:48 +02:00
28 lines
450 B
PHP
28 lines
450 B
PHP
|
<?php
|
||
|
|
||
|
namespace SilverStripe\GoogleSitemaps;
|
||
|
|
||
|
use Director, DataObject, TestOnly;
|
||
|
|
||
|
/**
|
||
|
* @package googlesitemaps
|
||
|
* @subpackage tests
|
||
|
*/
|
||
|
class Test_DataObject extends DataObject implements TestOnly
|
||
|
{
|
||
|
|
||
|
public static $db = array(
|
||
|
'Priority' => 'Varchar(10)'
|
||
|
);
|
||
|
|
||
|
public function canView($member = null)
|
||
|
{
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
public function AbsoluteLink()
|
||
|
{
|
||
|
return Director::absoluteBaseURL();
|
||
|
}
|
||
|
}
|