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 TFile

Description

Implements interfaces:

FileChooser widget

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

TField
   |
   --TFile
Variable Summary
mixed $displayMode
mixed $extensions
mixed $height
mixed $id
mixed $placeHolder
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)
setDisplayMode ($mode)
setHeight ($height)
setPlaceHolder ($widget)
setService ($service)
setSize ($width, [$height = NULL])
setValue ($value)
show ()
Variables
mixed $completeAction (line 30)
  • access: protected
mixed $displayMode (line 34)
  • access: protected
mixed $extensions (line 33)
  • access: protected
mixed $fileHandling (line 36)
  • access: protected
mixed $height (line 29)
  • access: protected
mixed $id (line 28)
  • access: protected

Redefinition of:
TField::$id
mixed $placeHolder (line 32)
  • access: protected
mixed $seed (line 35)
  • 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 299)

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

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

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

Constructor method

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

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

Define to file handling

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

Return the post data

  • access: public
getPostData ()

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

Define the allowed extensions

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

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

setCompleteAction ($action)
  • $action: TAction object
setDisplayMode (line 56)

Define the display mode {file}

  • access: public
setDisplayMode ($mode)
  • $mode
setHeight (line 105)

Set field height

  • access: public
setHeight ($height)
  • $height
setPlaceHolder (line 89)

Set place holder

  • access: public
setPlaceHolder ($widget)
  • $widget
setService (line 64)

Define the service class for response

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

Set field size

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

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

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