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

Class: HTML_QuickForm2_DataSource_SuperGlobal

Source Location: /HTML_QuickForm2-2.0.0/HTML/QuickForm2/DataSource/SuperGlobal.php

Class Overview

HTML_QuickForm2_DataSource_Array
   |
   --HTML_QuickForm2_DataSource_SuperGlobal

Data source for HTML_QuickForm2 objects based on superglobal arrays


Author(s):

Version:

  • Release: 2.0.0

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 67]
Data source for HTML_QuickForm2 objects based on superglobal arrays


[ Top ]


Class Variables

$files = array()

[line 75]

Information on file uploads (from $_FILES)
  • Access: protected

Type:   array


[ Top ]



Method Detail

__construct (Constructor)   [line 89]

HTML_QuickForm2_DataSource_SuperGlobal __construct( [string $requestMethod = 'POST'], [bool $magicQuotesGPC = false])

Class constructor, intializes the internal arrays from superglobals
  • Access: public

Overrides HTML_QuickForm2_DataSource_Array::__construct() (Class constructor, initializes the values array)

Parameters:

string   $requestMethod     Request method (GET or POST)
bool   $magicQuotesGPC     Whether magic_quotes_gpc directive is on

[ Top ]

arrayMapRecursive   [line 126]

array arrayMapRecursive( callback $callback, mixed $arr)

A recursive version of array_map() function
  • Return: with callback applied
  • Access: protected

Parameters:

callback   $callback     Callback function to apply
mixed   $arr     Input array

[ Top ]

getUpload   [line 140]

void getUpload( $name)

  • Access: public

Parameters:

   $name     

[ Top ]


Documentation generated on Tue, 26 Jun 2012 15:30:31 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.