Class Quform_Filter_Digits
-
Quform_Filter_Abstract
implements
Quform_Filter_Interface
-
Quform_Filter_Digits
Methods summary
public
string
|
#
filter( string $value )
Filter everything from the given value except digits
Filter everything from the given value except digits
If the value provided is not a string, the value will remain unfiltered
Parameters
- $value
- The value to filter
Returns
string The filtered value
|
public static
array
|
#
getDefaultConfig( string|null $key = null )
Get the default config for this filter
Get the default config for this filter
Parameters
- $key
- Get the config by key, if omitted the full config is returned
Returns
array
|