class TexyConfigurator

Texy basic configurators.

$texy = new Texy();
TexyConfigurator::safeMode($texy);

Properties

static $safeTags

Methods

__construct()

static class.

static void
safeMode(Texy $texy)

Configure Texy! for web comments and other usages, where input text may insert attacker.

static void
disableLinks(Texy $texy)

Disable all links.

static void
disableImages(Texy $texy)

Disable all images.

Details

at line 39
final __construct()

static class.

at line 51
static void safeMode(Texy $texy)

Configure Texy! for web comments and other usages, where input text may insert attacker.

Parameters

Texy $texy

Return Value

void

Disable all links.

Parameters

Texy $texy

Return Value

void

at line 91
static void disableImages(Texy $texy)

Disable all images.

Parameters

Texy $texy

Return Value

void