Skip to content

icms_form_elements_File

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_form_elements_File

Create a field for uploading a file

  • Class name: icms_form_elements_File
  • Namespace:
  • Parent class: icms_form_Element

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

  • Visibility: public

Arguments

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

getMaxFileSize

int icms_form_elements_File::getMaxFileSize()

Get the maximum filesize

  • Visibility: public

render

string icms_form_elements_File::render()

prepare HTML for output

  • Visibility: public
Clone this wiki locally