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

Class: HTML_QuickForm2_DataSource_Array

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

Class Overview


Array-based data source for HTML_QuickForm2 objects


Author(s):

Version:

  • Release: 2.0.2

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 61]
Array-based data source for HTML_QuickForm2 objects


[ Top ]


Class Variables

$values =

[line 67]

Array containing elements' values
  • Access: protected

Type:   array


[ Top ]



Method Detail

__construct (Constructor)   [line 74]

HTML_QuickForm2_DataSource_Array __construct( [ $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 79]

void getValue( $name)

  • Access: public

Parameters:

   $name     

[ Top ]

hasValue   [line 102]

void hasValue( $name)

  • Access: public

Parameters:

   $name     

[ Top ]


Documentation generated on Sat, 28 Jun 2014 09:30:08 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.