category Zend
package Zend_Filter

 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 $value) : string

Does a lowercase on the content of the given file

Parameters

$value

string

Full path of file to change

Exceptions

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

Returns

stringThe 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\StringToLower
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

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\StringToUpper::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\StringToUpper::isOptions()

Parameters

$options

mixed

Returns

bool

 Properties

 

Is PCRE is compiled with UTF-8 and Unicode support

$hasPcreUnicodeSupport : bool
Inherited

inherited_from \Zend\Filter\AbstractFilter::$$hasPcreUnicodeSupport
inherited_from \Zend\Filter\AbstractUnicode::$$hasPcreUnicodeSupport
inherited_from \Zend\Filter\StringToUpper::$$hasPcreUnicodeSupport
 

Filter options

$options : array
Inherited

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