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

Class: HTML_QuickForm2_DataSource_Array

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

Class Overview


Array-based data source for HTML_QuickForm2 objects


Author(s):

Version:

  • Release: 2.1.0

Variables

Methods


Child classes:

HTML_QuickForm2_DataSource_Session
Class presenting the values stored in session by Controller as submitted ones
HTML_QuickForm2_DataSource_SuperGlobal
Data source for HTML_QuickForm2 objects based on superglobal arrays

Inherited Variables

Inherited Methods


Class Details

[line 38]
Array-based data source for HTML_QuickForm2 objects


[ Top ]


Class Variables

$values =

[line 44]

Array containing elements' values
  • Access: protected

Type:   array


[ Top ]



Method Detail

__construct (Constructor)   [line 51]

HTML_QuickForm2_DataSource_Array __construct( [array $values = array()])

Class constructor, initializes the values array
  • Access: public

Overridden in child classes as:

HTML_QuickForm2_DataSource_SuperGlobal::__construct()
Class constructor, intializes the internal arrays from superglobals

Parameters:

array   $values   —  Array containing the elements' values

[ Top ]

getValue   [line 56]

void getValue( $name)

  • Access: public

Parameters:

   $name   — 

[ Top ]

hasValue   [line 79]

void hasValue( $name)

  • Access: public

Parameters:

   $name   — 

[ Top ]


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