Overview

Sanitizes a value to a string with only numeric characters.

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_SanitizeNumeric class has no public properties; try the list of all properties.

Public Methods

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

sanitizeNumeric()

Strips non-numeric characters from the value.



Local