Skip to content

Kirby 4.2.0

Txt::encode()

Converts an array to an encoded Kirby txt string

Txt::encode($data): string

Parameters

Name Type Default
$data * mixed

Return type

string

Parent class

Kirby\Data\Txt