silverstripe-cms/code/Controllers/CMSPagesController.php

30 lines
579 B
PHP
Raw Normal View History

2011-04-21 08:50:13 +12:00
<?php
2016-07-22 11:32:32 +12:00
namespace SilverStripe\CMS\Controllers;
use SilverStripe\ORM\DataObject;
// @TODO What a pointless class!!!!!!
2017-01-26 09:59:25 +13:00
class CMSPagesController extends CMSMain
{
private static $url_segment = 'pages';
private static $url_rule = '/$Action/$ID/$OtherID';
private static $url_priority = 40;
private static $menu_title = 'Pages';
private static $required_permission_codes = 'CMS_ACCESS_CMSMain';
public function LinkPreview()
{
return false;
}
public function isCurrentRecord(DataObject $record)
2017-01-26 09:59:25 +13:00
{
return false;
}
}