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

Class: HTML_QuickForm2_DataSource_SuperGlobal

Source Location: /HTML_QuickForm2-2.1.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.1.0

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

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


[ Top ]


Class Variables

$files = array()

[line 51]

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

Type:   array


[ Top ]



Method Detail

__construct (Constructor)   [line 65]

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 102]

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 116]

void getUpload( $name)

  • Access: public

Parameters:

   $name   — 

[ Top ]


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