trait FormatTrait (View source)

Methods

string
validateFormat(string $format)

Check format against allowed values

Details

string validateFormat(string $format)

Check format against allowed values

Parameters

string $format

format to validate

Return Value

string

the format if it has passed validation

Exceptions

PiwikException