Class UpperCaseWords

Summary

Fully Qualified Name: Zend\Filter\UpperCaseWords
Extends: AbstractUnicode

Description

Methods

Name Description Defined By
__construct() Constructor UpperCaseWords
__invoke() Invoke filter as a command AbstractFilter
filter() {@inheritDoc} UpperCaseWords
getEncoding() Returns the set encoding AbstractUnicode
getOptions() Retrieve options representing object state AbstractFilter
hasPcreUnicodeSupport() AbstractFilter
setEncoding() Set the input encoding for the given string AbstractUnicode
setOptions() AbstractFilter

Method Details

__construct()

Constructor

Parameter Name Type Description
$encodingOrOptions string|array|\Traversable OPTIONAL

Returns:

__invoke()

Invoke filter as a command

Proxies to {@link filter()}

Parameter Name Type Description
$value mixed

Returns: mixed

filter()

{@inheritDoc}

Returns the string $value, converting words to have an uppercase first character as necessary

If the value provided is not a string, the value will remain unfiltered

Parameter Name Type Description
$value string|mixed

Returns: string|mixed

getEncoding()

Returns the set encoding

Returns: string

getOptions()

Retrieve options representing object state

Returns: array

hasPcreUnicodeSupport()

Returns: bool

setEncoding()

Set the input encoding for the given string

Parameter Name Type Description
$encoding string|null

Returns: self

setOptions()

Parameter Name Type Description
$options array|\Traversable

Returns: self

Top