protected function initRecord() { parent::initRecord(); if (empty($this->record['id']) || $this->record['subpageModule'] != 'Subpage' || $this->record['subpageMode'] != 'Website') { CoreUtils::redirect($this->getListPageAddress()); } }
protected function initRecord() { parent::initRecord(); if (empty($this->record['id']) || $this->record['subpageModule'] != 'Subpage' || $this->record['subpageMode'] != 'Website') { CoreUtils::redirect($this->getListPageAddress()); } }