Methods

Constructor

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

inherited_from \Zend\Filter\StringToLower::__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\StringToLower::__invoke()

Parameters

$value

mixed

Exceptions

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

Returns

mixed

Defined by Zend\Filter\Filter

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\InvalidArgumentException
\Zend\Filter\Exception\RuntimeException

Returns

stringarrayThe given $value

Returns the set encoding

getEncoding() : string
Inherited

inherited_from \Zend\Filter\AbstractUnicode::getEncoding()
inherited_from \Zend\Filter\StringToLower::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\StringToLower::getOptions()

Returns

array

hasPcreUnicodeSupport()

hasPcreUnicodeSupport() : bool
Inherited

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

Returns

bool

Set the input encoding for the given string

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

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

Parameters

$encoding

stringnull

Exceptions

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

Returns

setOptions()

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

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

Parameters

$options

array\Traversable

Exceptions

\Zend\Filter\Exception\InvalidArgumentException

Returns

isOptions()

isOptions(mixed $options) : bool
Inherited

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

Parameters

$options

mixed

Returns

bool

 Properties

 

Filter options

$options : array
Inherited

inherited_from \Zend\Filter\StringToLower::$$options