silverstripe-reports/code/controllers/CMSSettingsController.php
2012-03-02 20:45:44 +01:00

26 lines
485 B
PHP

<?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
))
));
}
}