XOOPS RMCommon Utilities
2.1.8.91RC
|
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() |
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.
RMFormFile::__construct | ( | $caption, | |
$name, | |||
$size = 30 , |
|||
$limit = 0 |
|||
) |
Constructor de la clase
string | $caption | Texto de la etiqueta |
string | $name | Nombre del campo |
int | $size | Longitud del campo (Por defecto 30) |
int | Limite en bytes para el tamaƱo del archivo |
Definition at line 26 of file file.class.php.
References $limit, RMFormElement\setCaption(), and RMFormElement\setName().
RMFormFile::getSize | ( | ) |
Devuelve la longitud actual del campo
Definition at line 43 of file file.class.php.
References $_size.
RMFormFile::render | ( | ) |
Genera el c?digo HTML para mostrar el campo
Definition at line 50 of file file.class.php.
References $ret, RMFormElement\getClass(), RMFormElement\getExtra(), and RMFormElement\id().
RMFormFile::setSize | ( | $size | ) |
Modifica la longitud del campo
int | $size | Longitud |
Definition at line 36 of file file.class.php.
|
private |
Definition at line 18 of file file.class.php.
|
private |
Definition at line 17 of file file.class.php.
Referenced by getSize().