TKHTML Class Reference
[Components]

Class to embed raw HTML or TKXML in a document. More...

Inheritance diagram for TKHTML:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 __construct ($html="", $type=self::HTML_PLAIN)
 Creates a new html container.

Static Public Member Functions

static parseTKHTML ($input)

Protected Member Functions

 renderComponent ($class, $style, $events, $id)

Static Private Member Functions

static parseTag (&$xmlTree, $start, $ignoreTK=false)
static parseTK (&$xmlTree, $start)


Detailed Description

Class to embed raw HTML or TKXML in a document.

TKXML is described elsewhere.

Properties:
  • content string: HTML or TKXML content
  • type int: either TKHTML::HTML_PLAIN or TKHTML::HTML_TK

Definition at line 14 of file TKHTML.php5.


Constructor & Destructor Documentation

TKHTML::__construct ( html = "",
type = self::HTML_PLAIN 
)

Creates a new html container.

Parameters:
$html [string]: HTML or TKXML for this object
$type [int]: either TKHTML::HTML_PLAIN for plain HTML or TKHTML::HTML_TK for TKXML

Definition at line 23 of file TKHTML.php5.

References TKComponent::$html, TKComponent::addProperty(), and TKComponent::removeProperty().


Member Function Documentation

static TKHTML::parseTag ( &$  xmlTree,
start,
ignoreTK = false 
) [static, private]

For internal use only.

Definition at line 46 of file TKHTML.php5.

static TKHTML::parseTK ( &$  xmlTree,
start 
) [static, private]

For internal use only.

Definition at line 120 of file TKHTML.php5.

static TKHTML::parseTKHTML ( input  )  [static]

For internal use only.

Definition at line 138 of file TKHTML.php5.

Referenced by STransHTMLTK::translate().

TKHTML::renderComponent ( class,
style,
events,
id 
) [protected]

For internal use only.

Reimplemented from TKComponent.

Definition at line 37 of file TKHTML.php5.


The documentation for this class was generated from the following file:

Generated on Wed Nov 24 02:07:01 2010 for Common by  doxygen 1.5.6