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

DateTimeField Class Reference
[Collection Fields]

Inheritance diagram for DateTimeField:

CollectionField AbstractField Field List of all members.

Detailed Description

Combination date & time field.

Author:
Scott Peshak
Date:
Date
2006-04-10 12:21:54 -0500 (Mon, 10 Apr 2006)

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

Public Member Functions

 __construct ($name, Form &$parentForm, array $attribs=array('mode'=> 12))
 Constructor.
 setData ($value)
 Set the field data.
 getData ()
 Get the data.
 getSqlImpl ()
 Get SQL string of the field data.


Member Function Documentation

DateTimeField::__construct name,
Form &$  parentForm,
array $  attribs = array('mode' => 12)
 

Constructor.

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

Reimplemented from CollectionField.

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

DateTimeField::getData  ) 
 

Get the data.

Returns:
Date string

Reimplemented from CollectionField.

Definition at line 40 of file datetime-field.inc.php.

Referenced by getSqlImpl().

DateTimeField::getSqlImpl  ) 
 

Get SQL string of the field data.

Returns:
SQL string ready for use in insert statement

Reimplemented from CollectionField.

Definition at line 49 of file datetime-field.inc.php.

References getData().

DateTimeField::setData value  ) 
 

Set the field data.

Parameters:
$value Value to set, should be a full datetime string

Reimplemented from AbstractField.

Definition at line 30 of file datetime-field.inc.php.


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