class Configurator

Texy basic configurators.

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

Traits

Better OOP experience.

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 45
final __construct()

static class.

at line 54
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 88
static void disableImages(Texy $texy)

Disable all images.

Parameters

Texy $texy

Return Value

void