Overview
Sanitizes a value to a string using trim().
Configuration Keys
filter
: The "parent" Solar_Filter object.
Constants
None.
Public Properties
The Solar_Filter_SanitizeTrim class has no public properties; try the list of all properties.
Public Methods
These are all the public methods in the Solar_Filter_SanitizeTrim 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.
-
sanitizeTrim()
-
Trims characters from the beginning and end of the value.