phpDocumentor

XtcUtilityTrait

Table of Contents

xtcDateRaw()  : string
IMPORTANT NOTE: The algorithm and PHPDoc block is copied from the xtc_date_raw() function.
xtcValidateEmail()  : mixed

Methods

xtcDateRaw()

IMPORTANT NOTE: The algorithm and PHPDoc block is copied from the xtc_date_raw() function.

public xtcDateRaw(string $date[, bool $reverse = false ]) : string

The function file can be found here: src/inc/xtc_date_raw.inc.php

Return date in raw format.

Provided $p_date parameter should be in DD.MM.YYYY or MM.DD.YYYY format depending the current language. The result (raw date) will be formatted in YYYYMMDD. If the provided $p_date parameter is invalid the result will be an empty string.

Parameters
$date : string
$reverse : bool = false

(optional)

Return values
string

xtcValidateEmail()

public xtcValidateEmail(mixed $email, mixed $emailAddressCheck) : mixed
Parameters
$email : mixed
$emailAddressCheck : mixed
Return values
mixed

Search results