PHP Class Texy\Configurator

$texy = new Texy(); Configurator::safeMode($texy);
Inheritance: use trait Strict
Show file Open project: dg/texy Class Usage Examples

Public Properties

Property Type Description
$safeTags

Public Methods

Method Description
__construct ( ) static class.
disableImages ( Texy $texy ) : void Disable all images.
disableLinks ( Texy $texy ) : void Disable all links.
safeMode ( Texy $texy ) : void Configure Texy! for web comments and other usages, where input text may insert attacker.

Method Details

__construct() final public method

static class.
final public __construct ( )

disableImages() public static method

Disable all images.
public static disableImages ( Texy $texy ) : void
$texy Texy
return void

safeMode() public static method

Configure Texy! for web comments and other usages, where input text may insert attacker.
public static safeMode ( Texy $texy ) : void
$texy Texy
return void

Property Details

$safeTags public static property

public static $safeTags