KauderwelschService

final class \TYPO3\CMS\Styleguide\Service\KauderwelschService

Get test strings

Table of Contents

Methods

getDateString()  : string
Date before 1970 as string
getDateTimestamp()  : int
Timestamp of a day before 1970
getDatetimeString()  : string
Date before 1970 with seconds as string
getDatetimeTimestamp()  : int
Timestamp of a day before 1970 with seconds
getEmail()  : string
Get a valid email
getFloat()  : float
Get a float
getHexColor()  : string
Get a color as hex string
getInteger()  : int
Get an integer
getJson()  : array
Get a json as array
getLink()  : string
Get a link
getLoremIpsum()  : string
Lorem ipsum test with fixed length.
getLoremIpsumHtml()  : string
Lorem ipsum test with fixed length and HTML in it.
getPassword()  : string
Get a single password
getUuid()  : string
Get a valid uuid v4 / v7 - both have same format
getWord()  : string
Get a single word

Methods

getDateString()

Date before 1970 as string

public getDateString() : string

Return values

string

getDateTimestamp()

Timestamp of a day before 1970

public getDateTimestamp() : int

Return values

int

getDatetimeString()

Date before 1970 with seconds as string

public getDatetimeString() : string

Return values

string

getDatetimeTimestamp()

Timestamp of a day before 1970 with seconds

public getDatetimeTimestamp() : int

Return values

int

getEmail()

Get a valid email

public getEmail() : string

Return values

string

getFloat()

Get a float

public getFloat() : float

Return values

float

getHexColor()

Get a color as hex string

public getHexColor() : string

Return values

string

getInteger()

Get an integer

public getInteger() : int

Return values

int

getJson()

Get a json as array

public getJson() : array

Return values

array

Get a link

public getLink() : string

Return values

string

getLoremIpsum()

Lorem ipsum test with fixed length.

public getLoremIpsum() : string

Return values

string

getLoremIpsumHtml()

Lorem ipsum test with fixed length and HTML in it.

public getLoremIpsumHtml() : string

Return values

string

getPassword()

Get a single password

public getPassword() : string

Return values

string

getUuid()

Get a valid uuid v4 / v7 - both have same format

public getUuid() : string

Return values

string

getWord()

Get a single word

public getWord() : string

Return values

string
On this page