UploadControl
class UploadControl extends BaseControl
Text box and browse button that allow users to select a file to upload to the server.
Methods
__construct($label = NULL, $multiple = FALSE)
No description
void
attached($form)
This method will be called when the component (or component's parent) becomes attached to a monitored object. Do not call this method yourself.
void
loadHttpData()
Loads HTTP data.
string
getHtmlName()
Returns HTML name of control.
void
setValue($value)
No description
bool
isFilled()
Has been any file uploaded?
bool
isOk()
Have been all files succesfully uploaded?
Details
at line 24
__construct($label = NULL, $multiple = FALSE)
No description
at line 38
protected void
attached($form)
This method will be called when the component (or component's parent) becomes attached to a monitored object. Do not call this method yourself.
at line 54
void
loadHttpData()
Loads HTTP data.
at line 67
string
getHtmlName()
Returns HTML name of control.
at line 77
void
setValue($value)
internal |
No description
at line 87
bool
isFilled()
Has been any file uploaded?
at line 97
bool
isOk()
Have been all files succesfully uploaded?