silverstripe-cms/code/Controllers/CMSPagesController.php

35 lines
693 B
PHP
Raw Normal View History

2011-04-20 22:50:13 +02:00
<?php
2016-07-22 01:32:32 +02:00
namespace SilverStripe\CMS\Controllers;
2016-08-10 06:08:39 +02:00
use SilverStripe\CMS\Model\SiteTree;
use SilverStripe\Control\Controller;
use SilverStripe\ORM\ArrayList;
use SilverStripe\ORM\DataObject;
use SilverStripe\View\ArrayData;
2016-07-22 01:32:32 +02:00
use stdClass;
2017-01-25 21:59:25 +01: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 isCurrentPage(DataObject $record)
{
return false;
}
}