package Default
inherited_from \Zend\Filter\StringToLower

 Methods

Constructor

__construct(string|array|\Traversable $encodingOrOptions = null
Inherited

Parameters

$encodingOrOptions

stringarray\Traversable

OPTIONAL

Invoke filter as a command

__invoke(mixed $value) : mixed
Inherited

Proxies to \filter()

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

inherited_from \Zend\Filter\StringToLower::filter()

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

Defined by Zend\Filter\FilterInterface

filter(string $value) : string | mixed
Inherited

Returns the string $value, converting characters to lowercase as necessary

If the value provided is non-scalar, the value will remain unfiltered

Parameters

$value

string

Returns

stringmixed

Returns the set encoding

getEncoding() : string
Inherited

Returns

string

Retrieve options representing object state

getOptions() : array
Inherited

Returns

array

hasPcreUnicodeSupport()

hasPcreUnicodeSupport() : boolean
InheritedStatic
deprecated Since 2.1.0

Returns

boolean

Set the input encoding for the given string

setEncoding(string|null $encoding = null) : \Zend\Filter\File\LowerCase
Inherited
fluent This method is part of a fluent interface and will return the same instance

Parameters

$encoding

stringnull

Exceptions

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

Returns

\Zend\Filter\File\LowerCase

setOptions()

setOptions(array|\Traversable $options) : \Zend\Filter\File\LowerCase
Inherited
fluent This method is part of a fluent interface and will return the same instance

Parameters

$options

array\Traversable

Exceptions

\Zend\Filter\Exception\InvalidArgumentException

Returns

\Zend\Filter\File\LowerCase

isOptions()

isOptions(mixed $options) : boolean
InheritedStatic

Parameters

$options

mixed

Returns

boolean

 Properties

 

Filter options

$options : array

Default

array()