include/HTMLPurifier/standalone/HTMLPurifier/Printer/CSSDefinition.php

Show: inherited
Table of Contents

\HTMLPurifier_Printer_CSSDefinition

Package:
Parent(s)
\HTMLPurifier_Printer

Properties

Propertyprotected  $config= ''
inherited

Instance of HTMLPurifier_Config, for easy access

Inherited from: \HTMLPurifier_Printer::$$config
Details
Type
n/a
Inherited_from
\HTMLPurifier_Printer::$$config  
Propertyprotected  $def= ''
Details
Type
n/a
Propertyprotected  $generator= ''
inherited

Instance of HTMLPurifier_Generator for HTML generation convenience funcs

Inherited from: \HTMLPurifier_Printer::$$generator
Details
Type
n/a
Inherited_from
\HTMLPurifier_Printer::$$generator  

Methods

methodpublic__construct( ) : void
inherited

Initialize $generator.

Inherited from: \HTMLPurifier_Printer::__construct()
methodprotectedelement( \$tag $tag, \$contents $contents, \$attr $attr = array(), \$escape $escape = true ) : void
inherited

Prints a complete element with content inside

Inherited from: \HTMLPurifier_Printer::element()
Parameters
Name Type Description
$tag \$tag

Tag name

$contents \$contents

Element contents

$attr \$attr

Tag attributes

$escape \$escape

Bool whether or not to escape contents

methodprotectedelementEmpty(  $tag,  $attr = array() ) : void
inherited

Inherited from: \HTMLPurifier_Printer::elementEmpty()
Parameters
Name Type Description
$tag
$attr
methodprotectedend( \$tag $tag ) : void
inherited

Returns an end teg

Inherited from: \HTMLPurifier_Printer::end()
Parameters
Name Type Description
$tag \$tag

Tag name

methodprotectedescape( \$string $string ) : void
inherited

Escapes a string for HTML output.

Inherited from: \HTMLPurifier_Printer::escape()
Parameters
Name Type Description
$string \$string

String to escape

methodprotectedgetClass( \$obj $obj, \$prefix $sec_prefix = '' ) : void
inherited

Retrieves the class of an object without prefixes, as well as metadata

Inherited from: \HTMLPurifier_Printer::getClass()
Parameters
Name Type Description
$obj \$obj

Object to determine class of

$sec_prefix \$prefix

Further prefix to remove

methodprotectedlistify( \$array $array, \$polite $polite = false ) : void
inherited

Takes a list of strings and turns them into a single list

Inherited from: \HTMLPurifier_Printer::listify()
Parameters
Name Type Description
$array \$array

List of strings

$polite \$polite

Bool whether or not to add an end before the last

methodpublicprepareGenerator(  $config ) : void
inherited

Give generator necessary configuration if possible

Inherited from: \HTMLPurifier_Printer::prepareGenerator()
Parameters
Name Type Description
$config
methodpublicrender(  $config ) : void

Parameters
Name Type Description
$config
methodprotectedrow( \$name $name, \$value $value ) : void
inherited

Prints a simple key/value row in a table.

Inherited from: \HTMLPurifier_Printer::row()
Parameters
Name Type Description
$name \$name

Key

$value \$value

Value

methodprotectedstart( \$tag $tag, \$attr $attr = array() ) : void
inherited

Returns a start tag

Inherited from: \HTMLPurifier_Printer::start()
Parameters
Name Type Description
$tag \$tag

Tag name

$attr \$attr

Attribute array

methodprotectedtext(  $text ) : void
inherited

Inherited from: \HTMLPurifier_Printer::text()
Parameters
Name Type Description
$text
Documentation was generated by DocBlox 0.18.1.