Methods

Constructor

__construct(string | array | \Traversable $encodingOrOptions) 
Inherited

inherited_from \Zend\Filter\StringToUpper::__construct()

Parameters

$encodingOrOptions

stringarray\Traversable

OPTIONAL

Invoke filter as a command

__invoke(mixed $value) : mixed
Inherited

Proxies to filter()

inherited_from \Zend\Filter\AbstractFilter::__invoke()
inherited_from \Zend\Filter\AbstractUnicode::__invoke()
inherited_from \Zend\Filter\StringToUpper::__invoke()

Parameters

$value

mixed

Exceptions

\Zend\Filter\Exception\ExceptionInterface If filtering $value is impossible

Returns

mixed

Defined by Zend\Filter\FilterInterface

filter(string | array $value) : string | array

Does a lowercase on the content of the given file

Parameters

$value

stringarray

Full path of file to change or $_FILES data array

Exceptions

\Zend\Filter\Exception\RuntimeException
\Zend\Filter\Exception\InvalidArgumentException

Returns

stringarrayThe given $value

Returns the set encoding

getEncoding() : string
Inherited

inherited_from \Zend\Filter\AbstractUnicode::getEncoding()
inherited_from \Zend\Filter\StringToUpper::getEncoding()

Returns

string

Retrieve options representing object state

getOptions() : array
Inherited

inherited_from \Zend\Filter\AbstractFilter::getOptions()
inherited_from \Zend\Filter\AbstractUnicode::getOptions()
inherited_from \Zend\Filter\StringToUpper::getOptions()

Returns

array

hasPcreUnicodeSupport()

hasPcreUnicodeSupport() : bool
Inherited

inherited_from \Zend\Filter\AbstractFilter::hasPcreUnicodeSupport()
inherited_from \Zend\Filter\AbstractUnicode::hasPcreUnicodeSupport()
inherited_from \Zend\Filter\StringToUpper::hasPcreUnicodeSupport()

Returns

bool

Set the input encoding for the given string

setEncoding(string | null $encoding) : \Zend\Filter\self
Inherited

inherited_from \Zend\Filter\AbstractUnicode::setEncoding()
inherited_from \Zend\Filter\StringToUpper::setEncoding()

Parameters

$encoding

stringnull

Exceptions

\Zend\Filter\Exception\InvalidArgumentException
\Zend\Filter\Exception\ExtensionNotLoadedException

Returns

\Zend\Filter\self

setOptions()

setOptions(array | \Traversable $options) : \Zend\Filter\self
Inherited

inherited_from \Zend\Filter\AbstractFilter::setOptions()
inherited_from \Zend\Filter\AbstractUnicode::setOptions()
inherited_from \Zend\Filter\StringToUpper::setOptions()

Parameters

$options

array\Traversable

Exceptions

\Zend\Filter\Exception\InvalidArgumentException

Returns

\Zend\Filter\self

isOptions()

isOptions(mixed $options) : bool
Inherited

inherited_from \Zend\Filter\AbstractFilter::isOptions()
inherited_from \Zend\Filter\AbstractUnicode::isOptions()
inherited_from \Zend\Filter\StringToUpper::isOptions()

Parameters

$options

mixed

Returns

bool

 Properties

 

Filter options

$options : array
Inherited

inherited_from \Zend\Filter\StringToUpper::$$options