Class TexyConfigurator
Texy basic configurators.
$texy = new Texy();
TexyConfigurator::safeMode($texy);
final public
|
#
__construct(
)
static class. static class. |
public static
void
|
#
safeMode(
Texy
$texy
)
Configure Texy! for web comments and other usages, where input text may insert attacker. Configure Texy! for web comments and other usages, where input text may insert attacker. Parameters$texy Texy object to configure |
public static
void
|
#
disableLinks(
Texy
$texy
)
Disable all links. Disable all links. Parameters$texy Texy object to configure |
public static
void
|
#
disableImages(
Texy
$texy
)
Disable all images. Disable all images. Parameters$texy Texy object to configure |
static
|
$safeTags | array ( 'a' => array ( 0 => 'href', 1 => 'title', ), 'acronym' => array ( 0 => 'title', ), 'b' => array ( ), 'br' => array ( ), 'cite' => array ( ), 'code' => array ( ), 'em' => array ( ), 'i' => array ( ), 'strong' => array ( ), 'sub' => array ( ), 'sup' => array ( ), 'q' => array ( ), 'small' => array ( ), ) |
# |