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

Class: HTML_QuickForm2_DataSource_Submit

Source Location: /HTML_QuickForm2-0.1.0/QuickForm2/DataSource/Submit.php

Class Overview

HTML_QuickForm2_DataSource
   |
   --HTML_QuickForm2_DataSource_Submit

Interface for data sources containing submitted values


Author(s):

Version:

  • Release: 0.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 65]
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 75]

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 Mon, 11 Mar 2019 15:00:14 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.