Documentation

ArcheTwigDateExtension extends AbstractExtension
in package

Table of Contents

Methods

getFilters()  : mixed
getName()  : mixed
Gets a unique identifier for this Twig extension.
checkDateTimeValue()  : mixed
checkYearIsMoreThanFourDigit()  : bool
notNormalDate()  : string
Return the befrore christ dates where we have 5 digit years numbers
returnFormattedDate()  : string
Return the normal 4 digit year dates

Methods

checkDateTimeValue()

private checkDateTimeValue(mixed $value) : mixed
Parameters
$value : mixed

checkYearIsMoreThanFourDigit()

private checkYearIsMoreThanFourDigit(mixed $value) : bool
Parameters
$value : mixed
Return values
bool

notNormalDate()

Return the befrore christ dates where we have 5 digit years numbers

private notNormalDate(type $value, mixed $lang, mixed $dateformat) : string
Parameters
$value : type
$lang : mixed
$dateformat : mixed
Return values
string

returnFormattedDate()

Return the normal 4 digit year dates

private returnFormattedDate(type $dateformat, type $value, type $lang) : string
Parameters
$dateformat : type
$value : type
$lang : type
Return values
string

        
On this page

Search results