Methods

All methods in the Solar_Filter_SanitizeIsoTime class.

Public

__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.

sanitizeIsoTime()

Forces the value to an ISO-8601 formatted time ("hh:ii:ss").

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.

Protected

_arrayToDate()

Converts an array of date parts to a string date.

_arrayToTime()

Converts an array of time parts to a string time.

_arrayToTimestamp()

Converts an array of timestamp parts to a string timestamp.

_buildConfig()

Builds and returns the default config for a class, including all configs inherited from its parents.

_exception()

Convenience method for returning exceptions with localized text.

_invalid()

Sets $this->_invalid to the specified value and returns false.

_postConfig()

A hook that activates after _buildConfig() in the constructor.

_postConstruct()

Post-construction tasks to complete object construction.

_preConfig()

A hook that activates before _buildConfig() in the constructor.

_resetInvalid()

Resets the $_invalid property to its default value.

Private

None.



Local