Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

DbSelectField Class Reference
[List Fields]

Inheritance diagram for DbSelectField:

SelectField AbstractListField AbstractField Field List of all members.

Detailed Description

Select field that gets its values from a database field.

Author:
Scott Peshak
Date:
Date
2006-04-11 03:04:09 -0500 (Tue, 11 Apr 2006)

Definition at line 8 of file dbselect-field.inc.php.

Public Member Functions

 __construct ($name, &$parentForm, array $attribs=array())
 Constructor.
 queryToValues ($query)
 Run a query and create an array to pass to the SelectField constructor.


Member Function Documentation

DbSelectField::__construct name,
&$  parentForm,
array $  attribs = array()
 

Constructor.

Parameters:
$name Name of input
$parentForm Form object that the field belongs to.
$attribs Array of extra attributes

Definition at line 16 of file dbselect-field.inc.php.

References queryToValues().

DbSelectField::queryToValues query  ) 
 

Run a query and create an array to pass to the SelectField constructor.

Parameters:
$query Query to run

Definition at line 33 of file dbselect-field.inc.php.

Referenced by __construct().


The documentation for this class was generated from the following file:
Generated on Fri Oct 27 12:26:41 2006 for BaseJumper by doxygen 1.3.9.1