PHP Class HTMLPurifier_AttrTypes, yii

Afficher le fichier Open project: yiisoft/yii Class Usage Examples

Protected Properties

Свойство Type Description
$info Lookup array of attribute string identifiers to concrete implementations.

Méthodes publiques

Méthode 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

Méthode Description
makeEnum ( $in )

Method Details

__construct() public méthode

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

get() public méthode

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

set() public méthode

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