XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
XoopsFormFile Class Reference
Inheritance diagram for XoopsFormFile:
Inheritance graph

Public Member Functions

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

Public Attributes

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

Detailed Description

A file upload field

Definition at line 26 of file formfile.php.

Member Function Documentation

XoopsFormFile::getMaxFileSize ( )

Get the maximum filesize

Returns
int

Definition at line 55 of file formfile.php.

XoopsFormFile::render ( )

prepare HTML for output

Returns
string HTML

Definition at line 65 of file formfile.php.

XoopsFormFile::XoopsFormFile (   $caption,
  $name,
  $maxfilesize 
)

Constructor

Parameters
string$captionCaption
string$name"name" attribute
int$maxfilesizeMaximum size for an uploaded file

Definition at line 43 of file formfile.php.

Member Data Documentation

XoopsFormFile::$_maxFileSize

Definition at line 34 of file formfile.php.


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