Overview

Sanitizes a value to an ISO-8601 date.

Package

This class is part of the Solar_Filter package.

Inheritance:

Configuration Keys

  • filter: The "parent" Solar_Filter object.

Constants

None.

Public Properties

The Solar_Filter_SanitizeIsoDate class has no public properties; try the list of all properties.

Public Methods

These are all the public methods in the Solar_Filter_SanitizeIsoDate 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.

getInvalid()

Returns the value of the $_invalid property.

locale()

Looks up class-specific locale strings based on a key.

sanitizeIsoDate()

Forces the value to an ISO-8601 formatted date ("yyyy-mm-dd").

sanitizeIsoTimestamp()

Forces the value to an ISO-8601 formatted timestamp using a space separator ("yyyy-mm-dd hh:ii:ss") instead of a "T" separator.



Local