Class WFUNIXDateFormatter

Description

The UNIX date formatter converts between human-readable dates and UNIX time.

Default formatString is 'r', example: "Thu, 21 Dec 2000 16:01:07 +0200". IMPORTANT! Please be aware that some date formats are not reversible! that is, they can be shown human-readable, but not reversed into a valid time.

Located in /framework/widgets/WFFormatter.php (line 151)

WFObject
   |
   --WFFormatter
      |
      --WFBaseDateFormatter
         |
         --WFUNIXDateFormatter
Direct descendents
Class Description
WFDateTimeFormatter The DateTime formatter converts between human-readable dates and PHP 5.2's DateTime object.
Method Summary
void stringForValue ( $value)
void valueForString ( $string,  &$error)
Variables
Methods
stringForValue (line 153)
void stringForValue ( $value)
  • $value

Redefinition of:
WFFormatter::stringForValue()
Retrieve a string for the passed in value.

Redefined in descendants as:
valueForString (line 165)
void valueForString ( $string,  &$error)
  • $string
  • &$error

Redefinition of:
WFFormatter::valueForString()
Retreive a value for the passed in string.

Redefined in descendants as:

Inherited Methods

Inherited From WFBaseDateFormatter

WFBaseDateFormatter::__construct()
WFBaseDateFormatter::relativeDate()
WFBaseDateFormatter::replaceRelativeDates()
WFBaseDateFormatter::setFormatString()
WFBaseDateFormatter::setRelativeDateFormatString()

Inherited From WFFormatter

WFFormatter::__construct()
WFFormatter::editingStringForValue()
WFFormatter::stringForValue()
WFFormatter::valueForString()

Inherited From WFObject

WFObject::__construct()
WFObject::exposedProperties()
WFObject::getClass()
WFObject::keyPathToTargetAndKey()
WFObject::setValueForKey()
WFObject::setValueForKeyPath()
WFObject::setValuesForKeys()
WFObject::validatedSetValueForKey()
WFObject::validatedSetValueForKeyPath()
WFObject::validateObject()
WFObject::validateValueForKey()
WFObject::validateValueForKeyPath()
WFObject::valueForKey()
WFObject::valueForKeyPath()
WFObject::valueForStaticKey()
WFObject::valueForStaticKeyPath()
WFObject::valueForTargetAndKeyPath()
WFObject::valueForUndefinedKey()
WFObject::valueForUndefinedStaticKey()
WFObject::valuesForKeyPaths()
WFObject::valuesForKeys()
WFObject::_valueForStaticKey()
WFObject::__toString()

Documentation generated on Thu, 14 May 2009 16:20:02 -0400 by phpDocumentor 1.4.2