TextSanitizer::htmlSpecialCharsStrip()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace XoopsModules\Xoopstube;
4
5
/**
6
 * Module: XoopsTube
7
 *
8
 * You may not change or alter any portion of this comment or credits
9
 * of supporting developers from this source code or any supporting source code
10
 * which is considered copyrighted (c) material of the original comment or credit authors.
11
 *
12
 * PHP version 5
13
 *
14
 * @category        Module
15
 * @package         Xoopstube
16
 * @author          XOOPS Development Team
17
 * @copyright       2001-2016 XOOPS Project (https://xoops.org)
18
 * @license         GNU GPL 2 or later (https://www.gnu.org/licenses/gpl-2.0.html)
19
 * @link            https://xoops.org/
20
 * @since           1.0.6
21
 */
22
23
//use XoopsModules\Xoopstube;
24
//use XoopsModules\Xoopstube\Common;
25
26
/**
27
 * Class TextSanitizer
28
 * @package XoopsModules\Xoopstube
29
 */
30
class TextSanitizer extends \MyTextSanitizer
31
{
32
    /**
33
     * @param $text
34
     *
35
     * @return string
36
     */
37
    public function htmlSpecialCharsStrip($text)
38
    {
39
        return $this->htmlSpecialChars($text);
40
    }
41
}
42