XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
RMFormFile Class Reference
Inheritance diagram for RMFormFile:
Inheritance graph

Public Member Functions

 __construct ($caption, $name, $size=30, $limit=0)
 
 getSize ()
 
 render ()
 
 setSize ($size)
 
- Public Member Functions inherited from RMFormElement
 addClass ($class)
 
 getCaption ()
 
 getClass ()
 
 getDescription ()
 
 getExtra ()
 
 getForm ()
 
 getName ()
 
 id ()
 
 render ()
 
 setCaption ($caption)
 
 setClass ($class)
 
 setDescription ($desc)
 
 setExtra ($extra)
 
 setForm ($name)
 
 setId ($id)
 
 setName ($name)
 

Private Attributes

 $_limit = 0
 
 $_size = 30
 

Additional Inherited Members

- Static Public Attributes inherited from RMFormElement
static $elementsIds = array()
 

Detailed Description

Clase para la creaci?n y manejo de elementos "FILE" para formularios Esta clase se deriba de EXMFormElement

Definition at line 15 of file file.class.php.

Constructor & Destructor Documentation

RMFormFile::__construct (   $caption,
  $name,
  $size = 30,
  $limit = 0 
)
Constructor de la clase
Parameters
string$captionTexto de la etiqueta
string$nameNombre del campo
int$sizeLongitud del campo (Por defecto 30)
intLimite en bytes para el tamaƱo del archivo

Definition at line 26 of file file.class.php.

References $limit, RMFormElement\setCaption(), and RMFormElement\setName().

Here is the call graph for this function:

Member Function Documentation

RMFormFile::getSize ( )

Devuelve la longitud actual del campo

Returns
int

Definition at line 43 of file file.class.php.

References $_size.

RMFormFile::render ( )

Genera el c?digo HTML para mostrar el campo

Returns
string

Definition at line 50 of file file.class.php.

References $ret, RMFormElement\getClass(), RMFormElement\getExtra(), and RMFormElement\id().

Here is the call graph for this function:

RMFormFile::setSize (   $size)

Modifica la longitud del campo

Parameters
int$sizeLongitud

Definition at line 36 of file file.class.php.

Member Data Documentation

RMFormFile::$_limit = 0
private

Definition at line 18 of file file.class.php.

RMFormFile::$_size = 30
private

Definition at line 17 of file file.class.php.

Referenced by getSize().


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