static InputFile get(
String
$name, [String
$id = ''])
|
|
Factory method for InputFile, returns new instance.
Factories are used to make instant chaining possible.
Tags:
Overrides
InputText::get() (Factory method for InputText, returns new instance.)
Parameters:
Returns the current value of the element.
In case of the file input, the value contains the a filename, if a file has successfully been transferrred to the server. In any other case the value stays an empty string.
Tags:
Overrides
InputText::getValue() (Returns the current value of the element.)
Sets the file-accept type of the element.
Be aware that no current browser actively uses this setting. Nonetheless it's part of the standard and could be used for information purposes for javascript e.g.
Tags:
Parameters: