Packageindex Classtrees Modulegroups Elementlist Report XML Files

File: /usr/local/apache_8080/htdocs/devel/Intra/class/phpdom/domhtml_document.php
Document Object Model for PHP - phpDOM.XHTML

HTMLDocument

Node
   |
  +-- Document
     |
    +-- HTMLDocument

The Document-Class

 

private class HTMLDocument extends Document

The Document-Class
This is the base class for all HTML documents.The HTMLDocument classes simply implements a different constructor!If the DOM/XML package provides more funcionality concerning documenttypes, this will be implementet here.

AuthorsDietmar Glachs <dietmar.glachs@salzburgresearch.at>
Versiondevel.0.4
Copyright2000 Salzburg Research Gesellschaft m.b.H.

 

Methods inherited from Document

create, createFromFile, createFromString, setDocumentElement, getRoot, getDocumentElement, getXPathContext, setRoot, getDocType, getElementById, getElementsByTagName, toString, printDocument

Methods inherited from Node

Node, Tag, appendChild, cloneNode, removeChild, getOwnerDocument, getFirstChild, getNextChild, getLastChild, getNodeById, hasChildNodes, hasMoreElements, getParentNode, getParent, getChildNodes, setNodeValue, getNodeValue, getAttributes, toString, getNodeName, getNodeType, addElement, _internal_toString, _internal_cloneNode, _internal_selfCheck, _internal_getNodeById

Public Method Summary

void

HTMLDocument([ string $file ])

Constructor

Private Method Summary

void

printHTML()

printHTML creates the Document and prints it to the browser

Fields inherited from Document

$doctype, $document, $documentElement

Fields inherited from Node

$nodeName, $nodevalue, $attribute, $node

Public Method Details

HTMLDocument

public void HTMLDocument( [ string $file ] )

  Constructor
This function has to create a skeleton for the document. If no filenameis given, the create() function is called to create an empty document.If the filename is provided, the document is created from the file.

Parameter
string $file = >>""<<
optional
Returns void


Private Method Details

printHTML

private void printHTML( )

  printHTML creates the Document and prints it to the browser

Returns void



Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta