silverstripe-cms/code/Controllers/CMSPagesController.php
2024-09-23 14:37:02 +12:00

35 lines
701 B
PHP

<?php
namespace SilverStripe\CMS\Controllers;
use SilverStripe\CMS\Model\SiteTree;
use SilverStripe\Control\Controller;
use SilverStripe\Model\List\ArrayList;
use SilverStripe\ORM\DataObject;
use SilverStripe\Model\ArrayData;
use stdClass;
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 isCurrentPage(DataObject $record)
{
return false;
}
}