MIOLO26
|
Membros públicos | |
__construct ($name, $value='', $label='', $size=40, $hint='', $hintVisible=true, $horizontal=false) | |
setIsMultiple ($isMultiple) | |
setAddButton ($addButton) | |
getAddButton () | |
setRemoveButton ($removeButton) | |
getRemoveButton () | |
generateInner () | |
generate () | |
Membros públicos herdados de MTextField | |
getValidator () | |
setValidator ( $value) | |
addMask ( $mask, $optional=true, $msg='') | |
Membros públicos herdados de MInputControl | |
__construct ( $name, $value, $label='', $color='', $hint='') | |
setAutoPostBack ( $value) | |
generateLabel () | |
getOnClick ($action, $attr, $optional) | |
Membros públicos herdados de MFormControl | |
setValue ( $value) | |
getValue () | |
setSubmittedValue () | |
setLabel ( $label) | |
setFormMode ( $mode) | |
setReadOnly ( $status) | |
setPlaceholder ( $placeholder) | |
Membros públicos herdados de MControl | |
__construct ( $name=NULL) | |
setName ($name) | |
setId ($id) | |
getId () | |
getName () | |
getUniqueId () | |
__clone () | |
__set ( $name, $value) | |
__get ( $name) | |
setClass ($cssClass, $add=TRUE) | |
insertClass ( $cssClass) | |
addStyleFile ( $styleFile) | |
getClass () | |
addStyle ($name, $value) | |
setStyle ($style) | |
getStyle () | |
getBoxStyle () | |
setPosition ($left, $top, $position='absolute') | |
setWidth ($value) | |
setHeight ($value) | |
setColor ($value) | |
setVisibility ($value) | |
setFont ($value) | |
getBox () | |
setBoxId ( $id) | |
setBoxClass ( $cssClass, $add=true) | |
getBoxClass () | |
setBoxAttributes ($attr) | |
getBoxAttributes () | |
generateBox ( $content) | |
addAttribute ( $name, $value='') | |
setAttribute ( $name, $value) | |
getAttribute ( $name) | |
setAttributes ($attr) | |
attributes ( $mergeDuplicates=false) | |
getAttributes ( $mergeDuplicates=false) | |
setEnabled ($state) | |
setJsHint ( $hint) | |
setHint ( $hint) | |
setCaption ($caption) | |
setHTMLTitle ($title) | |
addBoxStyle ($name, $value) | |
eventHandler () | |
attachEventHandler ( $name, $handler, $param=NULL) | |
addEvent ($event, $handler, $preventDefault=true) | |
hasEvent ($event) | |
generateEvent () | |
setContent ($inner) | |
setInner ($inner) | |
getInner () | |
getRender ( $method) | |
getInnerToString () | |
getCSSP () | |
__toString () | |
Membros públicos herdados de MComponent | |
getManager () | |
Membros públicos estáticos | |
static | getUploadInfo () |
static | getUploadErrors () |
static | uploadFiles ($path) |
Outros membros herdados | |
Atributos Públicos Estáticos herdados de MControl | |
static | $_number = 0 |
Membros protegidos herdados de MFormControl | |
generateLabelMode ($label) | |
Membros protegidos herdados de MControl | |
_addStyle ($name, $value) | |
__construct | ( | $name, | |
$value = '', | |||
$label = '', | |||
$size = 40, | |||
$hint = '', | |||
$hintVisible = true, | |||
$horizontal = false ) |
MFileField constructor.
string | $name | Field id and name. |
string | $value | Default value. |
string | $label | Field label. |
integer | $size | Field size. |
string | $hint | Hint. |
Reimplementado de MTextField.
generate | ( | ) |
Reimplementado de MControl.
generateInner | ( | ) |
Generate inner content.
Reimplementado de MTextField.
getAddButton | ( | ) |
getRemoveButton | ( | ) |
|
static |
|
static |
setAddButton | ( | $addButton | ) |
object | $addButton | Set the MButton instance which will add more files. |
setIsMultiple | ( | $isMultiple | ) |
boolean | $isMultiple | Set if the component must support the upload of multiple files. |
setRemoveButton | ( | $removeButton | ) |
object | $removeButton | Set the MButton instance which will remove files. |
|
static |
Move the uploaded files to the specified path
string | $path | Path where the files must be stored |
const MULTIPLE_UPLOAD_BUTTON_STYLE = 'mFileFieldMultipleButton' |
CSS class for add and remove buttons.
const UPLOAD_ERRORS = 'uploadErrors' |
Errors JSON id.
const UPLOAD_INFO = 'uploadInfo' |
Dojo textarea id for upload information.