Public Member Functions | |
__construct () | |
getInstance () | |
getWhiteUrlList () | |
getWhiteIframeUrlList () | |
check (&$content) | |
checkObjectTag (&$content) | |
checkEmbedTag (&$content) | |
checkIframeTag (&$content) | |
checkParamTag (&$content) | |
isWhiteDomain ($urlAttribute) | |
isWhiteIframeDomain ($urlAttribute) | |
isWhiteMimetype ($mimeType) | |
isWhiteExt ($ext) | |
_checkAllowScriptAccess ($m) | |
_addAllowScriptAccess ($m) | |
_makeWhiteDomainList ($whitelist=NULL) | |
Public Attributes | |
$allowscriptaccessList = array() | |
$allowscriptaccessKey = 0 | |
$whiteUrlXmlFile = './classes/security/conf/embedWhiteUrl.xml' | |
$whiteUrlCacheFile = './files/cache/embedfilter/embedWhiteUrl.php' | |
$whiteUrlList = array() | |
$whiteIframeUrlList = array() | |
$parser = NULL | |
$mimeTypeList | |
$extList | |
Definition at line 6 of file EmbedFilter.class.php.
EmbedFilter::__construct | ( | ) |
Definition at line 263 of file EmbedFilter.class.php.
EmbedFilter::_addAllowScriptAccess | ( | $m | ) |
Definition at line 581 of file EmbedFilter.class.php.
EmbedFilter::_checkAllowScriptAccess | ( | $m | ) |
Definition at line 548 of file EmbedFilter.class.php.
EmbedFilter::_makeWhiteDomainList | ( | $whitelist = NULL | ) |
Make white domain list cache file from xml config file.
$whitelist | array |
Definition at line 596 of file EmbedFilter.class.php.
EmbedFilter::check | ( | & | $content | ) |
EmbedFilter::checkEmbedTag | ( | & | $content | ) |
EmbedFilter::checkIframeTag | ( | & | $content | ) |
EmbedFilter::checkObjectTag | ( | & | $content | ) |
EmbedFilter::checkParamTag | ( | & | $content | ) |
EmbedFilter::getInstance | ( | ) |
Return EmbedFilter object This method for singleton
Definition at line 277 of file EmbedFilter.class.php.
EmbedFilter::getWhiteIframeUrlList | ( | ) |
Definition at line 291 of file EmbedFilter.class.php.
EmbedFilter::getWhiteUrlList | ( | ) |
Definition at line 286 of file EmbedFilter.class.php.
EmbedFilter::isWhiteDomain | ( | $urlAttribute | ) |
Check white domain in object data attribute or embed src attribute.
Definition at line 492 of file EmbedFilter.class.php.
EmbedFilter::isWhiteExt | ( | $ext | ) |
Definition at line 539 of file EmbedFilter.class.php.
EmbedFilter::isWhiteIframeDomain | ( | $urlAttribute | ) |
Check white domain in iframe src attribute.
Definition at line 511 of file EmbedFilter.class.php.
EmbedFilter::isWhiteMimetype | ( | $mimeType | ) |
Check white mime type in object type attribute or embed type attribute.
Definition at line 530 of file EmbedFilter.class.php.
EmbedFilter::$allowscriptaccessKey = 0 |
Definition at line 19 of file EmbedFilter.class.php.
EmbedFilter::$allowscriptaccessList = array() |
Definition at line 13 of file EmbedFilter.class.php.
EmbedFilter::$extList |
Definition at line 203 of file EmbedFilter.class.php.
EmbedFilter::$mimeTypeList |
Definition at line 25 of file EmbedFilter.class.php.
EmbedFilter::$parser = NULL |
Definition at line 24 of file EmbedFilter.class.php.
EmbedFilter::$whiteIframeUrlList = array() |
Definition at line 23 of file EmbedFilter.class.php.
EmbedFilter::$whiteUrlCacheFile = './files/cache/embedfilter/embedWhiteUrl.php' |
Definition at line 21 of file EmbedFilter.class.php.
EmbedFilter::$whiteUrlList = array() |
Definition at line 22 of file EmbedFilter.class.php.
EmbedFilter::$whiteUrlXmlFile = './classes/security/conf/embedWhiteUrl.xml' |
Definition at line 20 of file EmbedFilter.class.php.