File modules/cms/action/element/ElementEditAction.class.php

Last commit: Sat Oct 17 02:16:28 2026 +0200	Jan Dankert	Refactoring: Removed empty view() and post() methods; OpenAPI cleanup, removed these unused paths.
1 <?php 2 namespace cms\action\element; 3 use cms\action\ElementAction; 4 use cms\action\Method; 5 6 7 class ElementEditAction extends ElementAction implements Method { 8 public function view() { 9 $this->setTemplateVar('id' ,$this->element->elementid ); 10 $this->setTemplateVar('name',$this->element->name ); 11 $this->setTemplateVar('type',$this->element->getTypeName() ); 12 } 13 14 15 16 }
Download modules/cms/action/element/ElementEditAction.class.php
History Sat, 17 Oct 2026 02:16:28 +0200 Jan Dankert Refactoring: Removed empty view() and post() methods; OpenAPI cleanup, removed these unused paths. Sat, 13 Feb 2021 22:44:10 +0100 Jan Dankert New: 'edit'-Subactions for elements, models, languages.