PHP Class HTMLPurifier_AttrTypes, yii

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

Protected Properties

Property Type Description
$info Lookup array of attribute string identifiers to concrete implementations.

Public Methods

Method Description
__construct ( ) Constructs the info array, supplying default implementations for attribute types.
get ( string $type ) : HTMLPurifier_AttrDef Retrieves a type
set ( string $type, HTMLPurifier_AttrDef $impl ) Sets a new implementation for a type

Private Methods

Method Description
makeEnum ( $in )

Method Details

__construct() public method

Constructs the info array, supplying default implementations for attribute types.
public __construct ( )

get() public method

Retrieves a type
public get ( string $type ) : HTMLPurifier_AttrDef
$type string String type name
return HTMLPurifier_AttrDef Object AttrDef for type

set() public method

Sets a new implementation for a type
public set ( string $type, HTMLPurifier_AttrDef $impl )
$type string String type name
$impl HTMLPurifier_AttrDef Object AttrDef for type

Property Details

$info protected_oe property

Lookup array of attribute string identifiers to concrete implementations.
protected $info