PHP Class Xpressengine\Support\Purifier

Author: XE Developers ([email protected])
显示文件 Open project: xpressengine/xpressengine

Public Properties

Property Type Description
$default array

Protected Properties

Property Type Description
$config HTMLPurifier_Config

Public Methods

Method Description
__construct ( ) Purifier constructor
get ( ) : HTMLPurifier_Config get purifier config
purify ( string $content ) : string purify
set ( HTMLPurifier_Config $config ) set purifier config

Method Details

__construct() public method

Purifier constructor
public __construct ( )

get() public method

get purifier config
public get ( ) : HTMLPurifier_Config
return HTMLPurifier_Config

purify() public method

purify
public purify ( string $content ) : string
$content string content
return string

set() public method

set purifier config
public set ( HTMLPurifier_Config $config )
$config HTMLPurifier_Config config

Property Details

$config protected_oe property

protected HTMLPurifier_Config $config
return HTMLPurifier_Config

$default public_oe property

public array $default
return array