Class File

Description

Instances of this class are selectable user interface objects that allow the user to upload a file.

Widget
   |
   --Control
      |
      --File
Method Summary
File File (mixed &$parent)
byte[] get_file_data ()
string get_name ()
integer get_size ()
string get_tmp_name ()
string get_type ()
Methods
Constructor File

Constructs a new instance of this class given its parent.

File File (mixed &$parent)
get_file_data

Return the uploaded file's binary content.

  • return: the file's binary content
byte[] get_file_data ()
get_name

Gets the uploaded file name.

  • return: the file name
string get_name ()
get_size

Gets the uploaded file size.

  • return: the file size
integer get_size ()
get_tmp_name

Gets the uploaded file temporary name.

  • return: the file temporary name
string get_tmp_name ()
get_type

Gets the uploaded file mime type.

  • return: the file mime type
string get_type ()

Inherited Methods

Inherited From Control

Control::Control()
Control::add_selection_listener()
Control::force_focus()
Control::get_layout_data()
Control::remove_selection_listener()
Control::set_background()
Control::set_bounds()
Control::set_foreground()
Control::set_layout_data()
Control::set_size()

Inherited From Widget

Widget::Widget()
Widget::dispose()
Widget::get_attribute()
Widget::get_attributes()
Widget::get_style()
Widget::is_disposed()
Widget::paint()
Widget::set_attribute()
Widget::set_style()
Widget::show()
Widget::update()

Documentation generated on Wed, 2 Feb 2005 09:33:50 +0100 by phpDocumentor 1.3.0RC3