XOOPS 2.5.6
Final
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Pages
li.php
Go to the documentation of this file.
1
<?php
21
defined(
'XOOPS_ROOT_PATH'
) or die('Restricted access');
22
23
class
MytsLi
extends
MyTextSanitizerExtension
24
{
25
function
load(&$ts)
26
{
27
$ts->patterns[] =
"/\[li](.*)\[\/li\]/sU"
;
28
$ts->replacements[] =
'<li>\\1</li>'
;
29
return
true
;
30
}
31
}
32
33
?>
L:
0xoops
xoops-2.5.6
htdocs
class
textsanitizer
li
li.php
Generated on Fri May 10 2013 01:04:24 for XOOPS 2.5.6 by
1.8.3.1