[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/libraries/htmlpurifier/library/HTMLPurifier/ -> Printer.php (summary)

(no description)

File Size: 176 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

HTMLPurifier_Printer:: (11 methods):
  __construct()
  prepareGenerator()
  start()
  end()
  element()
  elementEmpty()
  text()
  row()
  escape()
  listify()
  getClass()


Class: HTMLPurifier_Printer  - X-Ref

__construct()   X-Ref
Initialize $generator.


prepareGenerator($config)   X-Ref
Give generator necessary configuration if possible


start($tag, $attr = array()   X-Ref
Returns a start tag

param: $tag Tag name
param: $attr Attribute array

end($tag)   X-Ref
Returns an end teg

param: $tag Tag name

element($tag, $contents, $attr = array()   X-Ref
Prints a complete element with content inside

param: $tag Tag name
param: $contents Element contents
param: $attr Tag attributes
param: $escape Bool whether or not to escape contents

elementEmpty($tag, $attr = array()   X-Ref
No description

text($text)   X-Ref
No description

row($name, $value)   X-Ref
Prints a simple key/value row in a table.

param: $name Key
param: $value Value

escape($string)   X-Ref
Escapes a string for HTML output.

param: $string String to escape

listify($array, $polite = false)   X-Ref
Takes a list of strings and turns them into a single list

param: $array List of strings
param: $polite Bool whether or not to add an end before the last

getClass($obj, $sec_prefix = '')   X-Ref
Retrieves the class of an object without prefixes, as well as metadata

param: $obj Object to determine class of
param: $prefix Further prefix to remove



Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1