Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 19 lines (14 sloc) 0.473 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<?php

/**
* @package cms
*/
class CMSPageSettingsController extends CMSMain {

static $url_segment = 'pages/settings';
static $url_rule = '/$Action/$ID/$OtherID';
static $url_priority = 42;
static $required_permission_codes = 'CMS_ACCESS_CMSMain';

function getEditForm($id = null, $fields = null) {
$record = $this->getRecord($id ? $id : $this->currentPageID());

return parent::getEditForm($record, ($record) ? $record->getSettingsFields() : null);
}

}
Something went wrong with that request. Please try again.