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

TimeField Class Reference
[Collection Fields]

Inheritance diagram for TimeField:

AbstractField Field List of all members.

Detailed Description

Time field.

Author:
Scott Peshak
Date:
Date
2006-04-09 23:04:29 -0500 (Sun, 09 Apr 2006)
Todo:
make this an actual collection field

Definition at line 9 of file time-field.inc.php.

Public Member Functions

 __construct ($name, Form &$parentForm, array $attribs=array())
 Constructor.
 drawInput ()
 Draw the field.
 setDataFromRequest ()
 Set the field data from the $_REQUEST array.

Protected Attributes

 $mode = '12'
 Flag to determine if the field should be 24 or 12 hour.


Member Function Documentation

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

Constructor.

Parameters:
$name Name of field
$parentForm Form that owns the field.
$attribs Array of extra attributes. Special Keys:
  • mode Either 12 or 24, defined if a 12 or 24 hour format should be used.

Reimplemented from AbstractField.

Definition at line 24 of file time-field.inc.php.

TimeField::drawInput  ) 
 

Draw the field.

Implements Field.

Definition at line 47 of file time-field.inc.php.

TimeField::setDataFromRequest  ) 
 

Set the field data from the $_REQUEST array.

Reimplemented from AbstractField.

Definition at line 82 of file time-field.inc.php.


Member Data Documentation

TimeField::$mode = '12' [protected]
 

Flag to determine if the field should be 24 or 12 hour.

Definition at line 14 of file time-field.inc.php.


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