Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe DateCaster

Fonctions membres publiques statiques

static castDateTime (\DateTimeInterface $d, array $a, Stub $stub, bool $isNested, int $filter)
 
static castInterval (\DateInterval $interval, array $a, Stub $stub, bool $isNested, int $filter)
 
static castTimeZone (\DateTimeZone $timeZone, array $a, Stub $stub, bool $isNested, int $filter)
 
static castPeriod (\DatePeriod $p, array $a, Stub $stub, bool $isNested, int $filter)
 

Fonctions membres privées statiques

static formatInterval (\DateInterval $i)
 
static formatDateTime (\DateTimeInterface $d, string $extra='')
 
static formatSeconds (string $s, string $us)
 

Attributs privés

const PERIOD_LIMIT = 3
 

Description détaillée

Casts DateTimeInterface related classes to array representation.

Auteur
Dany Maillard danym.nosp@m.aill.nosp@m.ard93.nosp@m.b@gm.nosp@m.ail.c.nosp@m.om

Documentation des fonctions membres

◆ castDateTime()

static castDateTime ( \DateTimeInterface  $d,
array  $a,
Stub  $stub,
bool  $isNested,
int  $filter 
)
static

◆ castInterval()

static castInterval ( \DateInterval  $interval,
array  $a,
Stub  $stub,
bool  $isNested,
int  $filter 
)
static

◆ castPeriod()

static castPeriod ( \DatePeriod  $p,
array  $a,
Stub  $stub,
bool  $isNested,
int  $filter 
)
static

◆ castTimeZone()

static castTimeZone ( \DateTimeZone  $timeZone,
array  $a,
Stub  $stub,
bool  $isNested,
int  $filter 
)
static

◆ formatDateTime()

static formatDateTime ( \DateTimeInterface  $d,
string  $extra = '' 
)
staticprivate

◆ formatInterval()

static formatInterval ( \DateInterval  $i)
staticprivate

Références $format, et $i.

◆ formatSeconds()

static formatSeconds ( string  $s,
string  $us 
)
staticprivate

Documentation des champs

◆ PERIOD_LIMIT

const PERIOD_LIMIT = 3
private

La documentation de cette classe a été générée à partir du fichier suivant :