silverstripe-cms/code/controllers/CMSSettingsController.php

26 lines
485 B
PHP
Raw Normal View History

<?php
class CMSSettingsController extends CMSMain {
static $url_segment = 'settings';
static $url_rule = '/$Action/$ID/$OtherID';
static $menu_priority = -1;
static $menu_title = 'Settings';
function getEditForm($id = null, $fields = null) {
return $this->RootForm();
}
function PreviewLink() {
return false;
}
function Breadcrumbs() {
return new ArrayList(array(
new ArrayData(array(
'Title' => $this->SectionTitle(),
'Link' => false
))
));
}
}