menu

Adianti Solutions

API

Adianti, Framework, PHP, MVC, Active record, Front controller, IDE, RAD, Web, multiplataforma, geração de código, desenvolvimento rápido, relatórios, formulários, listagens, datagrids, gráficos, banco de dados, padrões de projeto, design patterns API do Adianti Framework.
API Docs
code
Selecione a classe

Class TMultiFile

Description

Implements interfaces:

FileChooser widget

Located in /widget/form/TMultiFile.php (line 26)

TField
   |
   --TMultiFile
Variable Summary
mixed $extensions
mixed $height
mixed $id
mixed $seed
Method Summary
static clearField ($form_name, $field)
static disableField ($form_name, $field)
static enableField ($form_name, $field)
__construct ($name)
setAllowedExtensions ($extensions)
setCompleteAction ($action)
setHeight ($height)
setService ($service)
setSize ($width, [$height = NULL])
setValue ($value)
show ()
Variables
mixed $completeAction (line 30)
  • access: protected
mixed $extensions (line 32)
  • access: protected
mixed $fileHandling (line 34)
  • access: protected
mixed $height (line 29)
  • access: protected
mixed $id (line 28)
  • access: protected

Redefinition of:
TField::$id
mixed $seed (line 33)
  • access: protected
mixed $uploaderClass (line 31)
  • access: protected

Inherited Variables

Inherited from TField

TField::$editable
TField::$formName
TField::$label
TField::$name
TField::$size
TField::$tag
TField::$value
Methods
static clearField (line 275)

Clear the field

  • access: public
static clearField ($form_name, $field)
  • $form_name: Form name
  • $field: Field name

Redefinition of:
TField::clearField()
Clear the field
static disableField (line 265)

Disable the field

  • access: public
static disableField ($form_name, $field)
  • $form_name: Form name
  • $field: Field name

Redefinition of:
TField::disableField()
Disable the field
static enableField (line 255)

Enable the field

  • access: public
static enableField ($form_name, $field)
  • $form_name: Form name
  • $field: Field name

Redefinition of:
TField::enableField()
Enable the field
Constructor __construct (line 40)

Constructor method

  • access: public
__construct ($name)
  • $name: input name

Redefinition of:
TField::__construct()
Class Constructor
enableFileHandling (line 72)

Define to file handling

  • access: public
enableFileHandling ()
getPostData (line 96)

Return the post data

  • access: public
getPostData ()

Redefinition of:
TField::getPostData()
Return the post data
setAllowedExtensions (line 63)

Define the allowed extensions

  • access: public
setAllowedExtensions ($extensions)
  • $extensions
setCompleteAction (line 237)

Define the action to be executed when the user leaves the form field

setCompleteAction ($action)
  • $action: TAction object
setHeight (line 88)

Set field height

  • access: public
setHeight ($height)
  • $height
setService (line 55)

Define the service class for response

  • access: public
setService ($service)
  • $service
setSize (line 80)

Set field size

  • access: public
setSize ($width, [$height = NULL])
  • $width
  • $height

Redefinition of:
TField::setSize()
Define the Field's width
setValue (line 109)

Set field value

  • access: public
setValue ($value)
  • $value

Redefinition of:
TField::setValue()
Define the field's value

Implementation of:
AdiantiWidgetInterface::setValue()
show (line 158)

Show the widget at the screen

  • access: public
show ()

Implementation of:
AdiantiWidgetInterface::show()

Inherited Methods

Inherited From TField

TField::__construct()
TField::addValidation()
TField::clearField()
TField::disableField()
TField::enableField()
TField::getContents()
TField::getEditable()
TField::getFormName()
TField::getId()
TField::getLabel()
TField::getName()
TField::getPostData()
TField::getProperty()
TField::getSize()
TField::getValidations()
TField::getValue()
TField::isRequired()
TField::setEditable()
TField::setFormName()
TField::setId()
TField::setLabel()
TField::setName()
TField::setProperty()
TField::setSize()
TField::setTip()
TField::setValue()
TField::validate()
TField::__call()
TField::__clone()
TField::__get()
TField::__set()