Skip to content

icms_ipf_form_elements_Fileupload

Raimondas Rimkevičius edited this page Mar 9, 2020 · 1 revision
Notice: Wiki was automatic generated from project sources as project API documentation. Do not edit manually!

icms_ipf_form_elements_Fileupload

Form control creating a file upload element for an object derived from icms_ipf_Object

Properties

$_maxFileSize

private int $_maxFileSize

Maximum size for an uploaded file

  • Visibility: private

Methods

__construct

mixed icms_form_elements_File::__construct(string caption, string name, int maxfilesize)

Constructor

Arguments

  • caption string - <p>Caption</p>
  • name string - <p>"name" attribute</p>
  • maxfilesize int - <p>Maximum size for an uploaded file</p>

render

string icms_form_elements_File::render()

prepare HTML for output

getMaxFileSize

int icms_form_elements_File::getMaxFileSize()

Get the maximum filesize

Clone this wiki locally