b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (Version 1.10) [ class tree: AmCode ] [ index: AmCode ] [ all elements ]

Class: am_xml_highlighter

Source Location: /blogs/plugins/code_highlight_plugin/highlighters/xml.highlighter.php

Class am_xml_highlighter

Property Summary
mixed   $language_title   Text name of language for display
mixed   $strict_mode   Boolean are we in strict mode ?

[ Top ]
Method Summary
object am_xml_highlighter   am_xml_highlighter()   Called automatically on class innit
string   highlight_code()   Highlights code ready for displaying
string   highlight_xml()   Highlights xml tags, attributes and values
string   highlight_xml_tags()   Highlights xml declarations

[ Top ]
Properties
mixed   $language_title = 'XML' [line 48]

Text name of language for display

This is unused whilst "Experimental" as it requires a modification of the plugin it would be used to replace the text output above the codeblock instead of ucfirst( language )


[ Top ]
mixed   $strict_mode = false [line 55]

Boolean are we in strict mode ?


[ Top ]
Methods
Constructor am_xml_highlighter  [line 64]

  object am_xml_highlighter am_xml_highlighter( &$parent, object $parent  )

Called automatically on class innit

Parameters:
object   $parent: 
   &$parent: 


[ Top ]
highlight_code  [line 77]

  string highlight_code( string $block  )

Highlights code ready for displaying

Parameters:
string   $block:  - the code

API Tags:
Return:  highlighted code


[ Top ]
highlight_xml  [line 116]

  string highlight_xml( string $block  )

Highlights xml tags, attributes and values

Parameters:
string   $block:  : 2 - the code

API Tags:
Return:  highlighted xml code


[ Top ]
highlight_xml_tags  [line 103]

  string highlight_xml_tags( string $block  )

Highlights xml declarations

Parameters:
string   $block:  : 2 - the code

API Tags:
Return:  highlighted declarations


[ Top ]

Documentation generated on Tue, 20 May 2008 01:36:55 +0200 by phpDocumentor 1.4.2