Class DataUnitFormatter

Summary

Fully Qualified Name: Zend\Filter\DataUnitFormatter
Extends: AbstractFilter

Description

Methods

Name Description Defined By
__construct() DataUnitFormatter
__invoke() Invoke filter as a command AbstractFilter
filter() Defined by Zend\Filter\FilterInterface DataUnitFormatter
getOptions() Retrieve options representing object state AbstractFilter
hasPcreUnicodeSupport() AbstractFilter
setOptions() AbstractFilter

Method Details

__construct()

Parameter Name Type Description
$options array

Returns:

__invoke()

Invoke filter as a command

Proxies to {@link filter()}

Parameter Name Type Description
$value mixed

Returns: mixed

filter()

Defined by Zend\Filter\FilterInterface

Returns a human readable format of the amount of bits or bytes.

If the value provided is not numeric, the value will remain unfiltered

Parameter Name Type Description
$value string

Returns: string|mixed

getOptions()

Retrieve options representing object state

Returns: array

hasPcreUnicodeSupport()

Returns: bool

setOptions()

Parameter Name Type Description
$options array|\Traversable

Returns: self

Top