mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
35 lines
701 B
PHP
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;
|
|
}
|
|
}
|