Overview
Helper for a 'date' pseudo-element.
For an element named 'foo[bar]', builds a series of selects:
foo[bar][Y] : {:y_first} - {:y_last}
foo[bar][m] : 01-12
foo[bar][d] : 01-31
This helper makes use of two extra element information keys: y_first
to determine the first year shown, and y_last
as the last year shown.
The default values are -4 years from the current year, and +4 years from
the current year, respectively.
Package
This class is part of the Solar_View_Helper_Form package.
Inheritance:
Solar_View_Helper_FormTimestamp
Solar_View_Helper_FormDate
Configuration Keys
Constants
None.
Public Properties
The Solar_View_Helper_FormDate class has no public properties; try the list of all properties.
Public Methods
These are all the public methods in the Solar_View_Helper_FormDate class.
You can also view the list of all public, protected, and private methods.
-
__construct()
-
Constructor.
-
__destruct()
-
Default destructor; does nothing other than provide a safe fallback for calls to parent::__destruct().
-
dump()
-
Convenience method for getting a dump the whole object, or one of its properties, or an external variable.
-
formDate()
-
Helper for a 'date' pseudo-element.
-
formTimestamp()
-
Helper for a 'timestamp' pseudo-element.
-
locale()
-
Looks up class-specific locale strings based on a key.