mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
13 lines
385 B
PHP
13 lines
385 B
PHP
|
<?php
|
||
|
class CMSPageSettingsController extends CMSMain {
|
||
|
|
||
|
static $url_segment = 'page/settings';
|
||
|
static $url_rule = '/$Action/$ID/$OtherID';
|
||
|
static $url_priority = 42;
|
||
|
|
||
|
function getEditForm($id = null, $fields = null) {
|
||
|
$record = $this->getRecord($id ? $id : $this->currentPageID());
|
||
|
return parent::getEditForm($record, ($record) ? $record->getSettingsFields() : null);
|
||
|
}
|
||
|
|
||
|
}
|