Fully Qualified Name: | Laminas\I18n\Filter\Alnum |
Extends: | AbstractLocale |
Name | Description | Defined By |
---|---|---|
__construct() | Sets default option values for this instance | Alnum |
__invoke() | Invoke filter as a command | AbstractFilter |
filter() | Defined by Laminas\Filter\FilterInterface | Alnum |
getAllowWhiteSpace() | Whether white space is allowed | Alnum |
getLocale() | Returns the locale option | AbstractLocale |
getOptions() | Retrieve options representing object state | AbstractFilter |
hasPcreUnicodeSupport() | AbstractFilter | |
setAllowWhiteSpace() | Sets the allowWhiteSpace option | Alnum |
setLocale() | Sets the locale option | AbstractLocale |
setOptions() | AbstractFilter |
Sets default option values for this instance
Parameter Name | Type | Description |
---|---|---|
$allowWhiteSpaceOrOptions | array|\Traversable|bool|null | |
$locale | string|null |
Returns:
Invoke filter as a command
Proxies to {@link filter()}
Parameter Name | Type | Description |
---|---|---|
$value | mixed |
Returns: mixed
Defined by Laminas\Filter\FilterInterface
Returns $value as string with all non-alphanumeric characters removed
Parameter Name | Type | Description |
---|---|---|
$value | string|array |
Returns: string|array
Whether white space is allowed
Returns: bool
Returns the locale option
Returns: string
Retrieve options representing object state
Returns: array
Returns: bool
Sets the allowWhiteSpace option
Parameter Name | Type | Description |
---|---|---|
$flag | bool |
Returns: $this
Sets the locale option
Parameter Name | Type | Description |
---|---|---|
$locale | string|null |
Returns: $this
Parameter Name | Type | Description |
---|---|---|
$options | array|\Traversable |
Returns: self