PHP Classes

File: template/Code/file-input-params

Recommend this page to a friend!
  Classes of Fabrice Fesch   Melis Tool Creator   template/Code/file-input-params   Download  
File: template/Code/file-input-params
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: 600 bytes
 

Contents

Class file image Download
// File input $filesInpt = $this->params()->fromFiles(); if (!empty($filesInpt)){ foreach ($filesInpt As $input => $file){ if ($moduleTplForm->has($input)) if (!empty($file['tmp_name'])){ $this->fileInput($input, $moduleTplForm->getInputFilter()); $formData[$input] = $file; }else if (is_numeric($formData['#TCKEY'])) $moduleTplForm->getInputFilter()->get($input)->setRequired(false); } }