Class TexyConfigurator


Texy basic configurators.

  1. 1:      $texy new Texy();
  2. 2:      TexyConfigurator::safeMode($texy);


Copyright: Copyright (c) 2004, 2010 David Grudl
Located: in /libs/TexyConfigurator.php (line 25)
Constructor Summary
public
static class.
Method Summary
static void
disableImages (Texy $texy)
Disable all images.
static void
disableLinks (Texy $texy)
Disable all links.
static void
safeMode (Texy $texy)
Configure Texy! for web comments and other usages, where input text may insert attacker.
Variable Summary
static mixed $safeTags array( 'a' => array('href',...

line 27


Constructor Details

line 48

__construct

public __construct ()

static class.

Method Details

line 103

disableImages

public static void disableImages (Texy $texy)

Disable all images.

Input
Texy $texy object to configure
Output
void  

line 61

safeMode

public static void safeMode (Texy $texy)

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

Input
Texy $texy object to configure
Output
void