API - XOOPS 2.5.11 Beta 2
By monxoops.fr
XoopsFormFile Class Reference
Inheritance diagram for XoopsFormFile:
Collaboration diagram for XoopsFormFile:

Public Member Functions

 __construct ($caption, $name, $maxfilesize)
 
 getMaxFileSize ()
 
 render ()
 
- Public Member Functions inherited from XoopsFormElement
 __construct ()
 
 isContainer ()
 
 setName ($name)
 
 getName ($encode=true)
 
 setAccessKey ($key)
 
 getAccessKey ()
 
 getAccessString ($str)
 
 setClass ($class)
 
 getClass ()
 
 setCaption ($caption)
 
 getCaption ($encode=false)
 
 getTitle ($encode=true)
 
 setDescription ($description)
 
 getDescription ($encode=false)
 
 setHidden ()
 
 isHidden ()
 
 isRequired ()
 
 setExtra ($extra, $replace=false)
 
 getExtra ($encode=false)
 
 setNocolspan ($nocolspan=true)
 
 getNocolspan ()
 
 getFormType ()
 
 setFormType ($value='')
 
 renderValidationJS ()
 
 render ()
 

Data Fields

 $_maxFileSize
 
- Data Fields inherited from XoopsFormElement
 $customValidationCode = array()
 
 $_name
 
 $_caption
 
 $_accesskey = ''
 
 $_class = array()
 
 $_hidden = false
 
 $_extra = array()
 
 $_required = false
 
 $_description = ''
 
 $_nocolspan = false
 
 $_formtype = ''
 

Detailed Description

A file upload field

Constructor & Destructor Documentation

◆ __construct()

__construct (   $caption,
  $name,
  $maxfilesize 
)

Constructor

Parameters
string$captionCaption
string$name"name" attribute
int$maxfilesizeMaximum size for an uploaded file
Here is the call graph for this function:

Member Function Documentation

◆ getMaxFileSize()

getMaxFileSize ( )

Get the maximum filesize

Returns
int
Here is the caller graph for this function:

◆ render()

render ( )

prepare HTML for output

Returns
string HTML

Reimplemented from XoopsFormElement.

Here is the call graph for this function:

Field Documentation

◆ $_maxFileSize

$_maxFileSize

The documentation for this class was generated from the following file: