File modules/cms/action/model/ModelEditAction.class.php
Last commit: Sat Feb 13 22:44:10 2021 +0100 Jan Dankert New: 'edit'-Subactions for elements, models, languages.
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 public function post() { 15 } 16 }
Downloadmodules/cms/action/model/ModelEditAction.class.php
History Sat, 13 Feb 2021 22:44:10 +0100 Jan Dankert New: 'edit'-Subactions for elements, models, languages.