Lançado Adianti Framework 7.6!
Clique aqui para saber mais
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 27)

TField
   |
   --TMultiFile
Variable Summary
mixed $extensions
mixed $height
mixed $id
mixed $popcontent
mixed $popover
mixed $poptitle
mixed $seed
Method Summary
static clearField ($form_name, $field)
static disableField ($form_name, $field)
static enableField ($form_name, $field)
__construct ($name)
enableImageGallery ([$width = null], [$height = 100])
enablePopover ([$title = null], [$content = ''])
setAllowedExtensions ($extensions)
setCompleteAction ($action)
setHeight ($height)
setService ($service)
setSize ($width, [$height = NULL])
setValue ($value)
show ()
Variables
mixed $completeAction (line 31)
  • access: protected
mixed $extensions (line 33)
  • access: protected
mixed $fileHandling (line 35)
  • access: protected
mixed $galleryHeight (line 38)
  • access: protected
mixed $galleryWidth (line 37)
  • access: protected
mixed $height (line 30)
  • access: protected
mixed $id (line 29)
  • access: protected

Redefinition of:
TField::$id
mixed $imageGallery (line 36)
  • access: protected
mixed $popcontent (line 41)
  • access: protected
mixed $popover (line 39)
  • access: protected
mixed $poptitle (line 40)
  • access: protected
mixed $seed (line 34)
  • access: protected
mixed $uploaderClass (line 32)
  • access: protected

Inherited Variables

Inherited from TField

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

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 305)

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 295)

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 47)

Constructor method

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

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

Define to file handling

  • access: public
enableFileHandling ()
enableImageGallery (line 64)

Enable image gallery view

  • access: public
enableImageGallery ([$width = null], [$height = 100])
  • $width
  • $height
enablePopover (line 76)

Enable popover

  • access: public
enablePopover ([$title = null], [$content = ''])
  • $title: Title
  • $content: Content
getPostData (line 127)

Return the post data

  • access: public
getPostData ()

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

Define the allowed extensions

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

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

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

Set field height

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

Define the service class for response

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

Set field size

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

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

Set field value

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

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

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

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::getPropertiesAsString()
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::setValueCallback()
TField::validate()
TField::__call()
TField::__clone()
TField::__get()
TField::__isset()
TField::__set()
TField::__toString()