Previous Class
Solar_Filter_SanitizeInt

Solar_Filter_SanitizeIpv4
Overview

Next Page
Constants

Solar_Filter_SanitizeIpv4

Sanitizes a value to an IPv4 address.

Catalog

This class is part of the Solar_Filter package.

Inheritance:

Constants

None.

Public Properties

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

Public Methods

These are all the public methods in the Solar_Filter_SanitizeIpv4 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().
apiVersion()
Reports the API version for this class.
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.
sanitizeIpv4()
Forces the value to an IPv4 address.