File modules/cms/action/model/ModelEditAction.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\model; 3 use cms\action\Method; 4 use cms\action\ModelAction; 5 6 7 class ModelEditAction extends ModelAction implements Method { 8 9 public function view() { 10 $this->model->load(); 11 12 $this->setTemplateVars( $this->model->getProperties() ); 13 } 14 15 }
Download modules/cms/action/model/ModelEditAction.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.