HTML_QuickForm2
[ class tree: HTML_QuickForm2 ] [ index: HTML_QuickForm2 ] [ all elements ]

Class: HTML_QuickForm2_DataSource_Submit

Source Location: /HTML_QuickForm2-2.1.0/HTML/QuickForm2/DataSource/Submit.php

Class Overview

HTML_QuickForm2_DataSource
   |
   --HTML_QuickForm2_DataSource_Submit

Interface for data sources containing submitted values


Author(s):

Version:

  • Release: 2.1.0

Methods


Inherited Variables

Inherited Methods

Class: HTML_QuickForm2_DataSource

HTML_QuickForm2_DataSource::getValue()
Returns value for the element with the given name

Class Details

[line 42]
Interface for data sources containing submitted values

This interface provides method for getting information on uploaded files. Additionally some elements will only consider getting their values from data sources implementing this interface.



[ Top ]


Method Detail

getUpload   [line 53]

array|null getUpload( string $name)

Returns the information about uploaded file

If data source doesn't such information it should return null

  • Return: Information on uploaded file, from $_FILES array
  • Access: public

Parameters:

string   $name   —  Name of file upload field

[ Top ]


Documentation generated on Wed, 10 Apr 2019 08:56:11 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.