Свойство | Тип | Описание | |
---|---|---|---|
$attr | Name of boolean attribute that is trigger. | ||
$css | CSS declarations to add to style, needs trailing semicolon. |
Метод | Описание | |
---|---|---|
__construct ( string $attr, string $css ) | ||
transform ( array $attr, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : array |
public __construct ( string $attr, string $css ) | ||
$attr | string | attribute name to convert from |
$css | string | CSS declarations to add to style (needs semicolon) |