Class FEFile

Description

This is the FileUpload FormElement which builds a input field of type="file".

Located in Program_Root/form/form_elements/FEFile.inc (line 26)

FormElement
   |
   --FEText
      |
      --FEFile
Method Summary
object get_element ()
array get_file_info ()
mixed get_value ()
void validate (FormValidation &$_FormValidation)
Variables
Methods
get_element (line 34)

This function builds and returns the form element object

object get_element ()

Redefinition of:
FEText::get_element()
This function builds and returns the form element object
get_file_info (line 104)

This function will return this file's portion of the $_FILES array

array get_file_info ()
get_value (line 94)

This function will return the elements value

mixed get_value ()

Redefinition of:
FormElement::get_value()
This function will return the elements value
validate (line 54)

This method validates the data for this Form Element.

It validates file size and partial uploads..

void validate (FormValidation &$_FormValidation)

Redefinition of:
FormElement::validate()
This function performs the actual validation It is called only if the validation is required by this element

Inherited Methods

Inherited From FEText

FEText::FEText()
FEText::get_element()

Inherited From FormElement

FormElement::FormElement()
FormElement::create_element_name()
FormElement::get_attribute()
FormElement::get_element()
FormElement::get_element_name()
FormElement::get_errors()
FormElement::get_error_message()
FormElement::get_init_value()
FormElement::get_label()
FormElement::get_label_text()
FormElement::get_required_symbol()
FormElement::get_value()
FormElement::get_value_text()
FormElement::has_error()
FormElement::is_disabled()
FormElement::is_required()
FormElement::javascript()
FormElement::onBlur()
FormElement::onChange()
FormElement::onClick()
FormElement::onFocus()
FormElement::onSubmit()
FormElement::set_attribute()
FormElement::set_disabled()
FormElement::set_error_message()
FormElement::set_form_name()
FormElement::set_label_text()
FormElement::set_required()
FormElement::set_stripslashes()
FormElement::set_style_attribute()
FormElement::set_title()
FormElement::set_value()
FormElement::validate()
FormElement::_build_element_attributes()
FormElement::_build_javascript()
FormElement::_do_validation()

Documention generated on Thu, 31 Jul 2003 18:32:30 -0700 by phpDocumentor 1.2.0