IWL::Upload - a file upload widget
IWL::Error -> IWL::Object -> IWL::Widget -> IWL::Form -> IWL::Upload
The Upload widget is a form widget, with it's own file selector.
IWL::Upload->new ([%ARGS])
Where %ARGS is an optional hash parameter with with key-values.
The form action
True, if an information tooltip should be shown
Fires when a file has been uploaded
Fires when the upload widget has been loaded
Sets the accepted mime types. Browsers which support this can use it to filter out the files that a user can choose.
Parameters: EXPR - the expression which is used for filtering
Returns the accept filter
Sets the label of the button
Parameters: TEXT - the text for the label
Returns the label of the button
Prints a message, so that it can be displayed in the upload tooltip
Parameters: MESSAGE - the message to be displayed when a file is uploaded. DATA - the data to be passed to a listener for the upload signal.
This method is a class method! You do not need to instantiate an object in order to call it.
Copyright (c) 2006-2008 Viktor Kojouharov. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perldoc perlartistic.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install IWL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IWL
CPAN shell
perl -MCPAN -e shell install IWL
For more information on module installation, please visit the detailed CPAN module installation guide.