Class FilterInput
FilterInput is a class for filtering input from any data source
Forked from the php input filter library by Daniel Morris
Original Contributors: Gianpaolo Racca, Ghislain Picard, Marco Wandschneider, Chris Tobin and Andrew Eddie.
Direct known subclasses
XoopsFilterInput
Namespace: Xmf
Package: Xmf
Category: Xmf\FilterInput
Copyright: 2005 Daniel Morris
Copyright: 2005 - 2013 Open Source Matters, Inc. All rights reserved.
Copyright: 2011-2016 XOOPS Project (http://xoops.org)
License: GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Daniel Morris dan@rootcube.com
Author: Louis Landry louis.landry@joomla.org
Author: Grégory Mage (Aka Mage)
Author: trabis lusopoemas@gmail.com
Author: Richard Griffith richard@geekwright.com
Link: http://xoops.org
Located at lass/libraries/vendor/xoops/xmf/src/Xmf/FilterInput.php
Package: Xmf
Category: Xmf\FilterInput
Copyright: 2005 Daniel Morris
Copyright: 2005 - 2013 Open Source Matters, Inc. All rights reserved.
Copyright: 2011-2016 XOOPS Project (http://xoops.org)
License: GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Daniel Morris dan@rootcube.com
Author: Louis Landry louis.landry@joomla.org
Author: Grégory Mage (Aka Mage)
Author: trabis lusopoemas@gmail.com
Author: Richard Griffith richard@geekwright.com
Link: http://xoops.org
Located at lass/libraries/vendor/xoops/xmf/src/Xmf/FilterInput.php
protected
|
#
__construct( array $tagsArray = array(), array $attrArray = array(), integer $tagsMethod = 0, integer $attrMethod = 0, integer $xssAuto = 1 )
Constructor |
public static
|
#
getInstance( array $tagsArray = array(), array $attrArray = array(), integer $tagsMethod = 0, integer $attrMethod = 0, integer $xssAuto = 1 )
Returns an input filter object, only creating it if it does not already exist. |
public
string
|
|
public static
mixed
|
|
public
mixed
|
|
protected
String
|
|
protected
String
|
|
protected
array
|
|
protected
String
|
protected
|
$tagsArray
|
|
protected
|
$attrArray
|
|
protected
|
$tagsMethod
|
|
protected
|
$attrMethod
|
|
protected
|
$xssAuto
|
|
protected
array
|
$tagBlacklist
|
#
array(
'applet',
'body',
'bgsound',
'base',
'basefont',
'embed',
'frame',
'frameset',
'head',
'html',
'id',
'iframe',
'ilayer',
'layer',
'link',
'meta',
'name',
'object',
'script',
'style',
'title',
'xml'
)
|
protected
array
|
$attrBlacklist
|
#
array('action', 'background', 'codebase', 'dynsrc', 'lowsrc')
|