PHP Class HTMLPurifier_EntityLookup, yii

显示文件 Open project: yiisoft/yii Class Usage Examples

Public Properties

Property Type Description
$table Assoc array of entity name to character represented.

Public Methods

Method Description
instance ( boolean | HTMLPurifier_EntityLookup $prototype = false ) : HTMLPurifier_EntityLookup Retrieves sole instance of the object.
setup ( boolean $file = false ) Sets up the entity lookup table from the serialized file contents.

Method Details

instance() public static method

Retrieves sole instance of the object.
public static instance ( boolean | HTMLPurifier_EntityLookup $prototype = false ) : HTMLPurifier_EntityLookup
$prototype boolean | HTMLPurifier_EntityLookup Optional prototype of custom lookup table to overload with.
return HTMLPurifier_EntityLookup

setup() public method

Sets up the entity lookup table from the serialized file contents.
public setup ( boolean $file = false )
$file boolean

Property Details

$table public_oe property

Assoc array of entity name to character represented.
public $table