Class NFileUpload
Text box and browse button that allow users to select a file to upload to the server.
- NObject
- NComponent implements IComponent
- NFormControl implements IFormControl
- NFileUpload
public
|
|
protected
|
#
attached(
This method will be called when the component (or component's parent) becomes attached to a monitored object. Do not call this method yourself. |
public
|
|
public static
boolean
|
|
public static
boolean
|
#
validateFileSize( NFileUpload $control, integer $limit )
FileSize validator: is file size in limit? |
public static
boolean
|
#
validateMimeType( NFileUpload $control, array|string $mimeType )
MimeType validator: has file specified mime type? |
__clone(),
__wakeup(),
detached(),
getName(),
getParent(),
lookup(),
lookupPath(),
monitor(),
setParent(),
unmonitor(),
validateParent()
|
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod(),
getReflection()
|
NAME_SEPARATOR
|
$caption,
$control,
$idMask,
$label,
$value
|