PHP Classes

File: template/Code/modal-prop-actions

Recommend this page to a friend!
  Classes of Fabrice Fesch   Melis Tool Creator   template/Code/modal-prop-actions   Download  
File: template/Code/modal-prop-actions
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Melis Tool Creator
Module for the Melis CMS to create tools
Author: By
Last change:
Date: 1 year ago
Size: 479 bytes
 

Contents

Class file image Download
public function renderPropertiesFormAction() { $view = new ViewModel(); $form = $this->getForm(); $id = $this->params()->fromQuery('id', 'add'); $view->id = $id; if ($id != 'add'){ $moduleTplTable = $this->getServiceManager()->get('ModuleTplTable'); $data = $moduleTplTable->getEntryById($id)->current(); $form->bind($data); } $view->form = $form; return $view; }