i18n

View helper for rendering localized data.
extends Zend\View\Helper\AbstractHelper
Methods Summary
public
# __construct( string $timezone , Zend\I18n\View\Helper\DateFormat $dateFormatHelper = NULL )
Construct the helper.
public
# dateFormat( DateTime $date = NULL, string $dateType = 'medium', string $timeType = 'none', string|null $locale = NULL, string|null $pattern = NULL )
Format a date. If PHP's intl extension is not loaded, this helper will fall back on a predefined date and time format.
Methods inherited from Zend\View\Helper\AbstractHelper
setView(), getView()
Constants Summary
public string DATE_FORMAT_NONE
# 'none'
public string DATE_FORMAT_FULL
# 'full'
public string DATE_FORMAT_LONG
# 'long'
public string DATE_FORMAT_MEDIUM
# 'medium'
public string DATE_FORMAT_SHORT
# 'short'
Properties Summary
protected string $timezone
# NULL
protected Zend\I18n\View\Helper\DateFormat $dateFormatHelper
# NULL
Properties inherited from Zend\View\Helper\AbstractHelper
$view