Source for file xhtml_doc.php

Documentation is available at xhtml_doc.php

  1. <?php
  2.  
  3.  
  4. class XHTML_doc extends xml_element
  5. {
  6. var $head;
  7. var $title;
  8. var $body;
  9. var $doctype;
  10. function XHTML_doc($title="")
  11. {
  12. $this->xml_element("html",array("xmlns" => "http://www.w3.org/1999/xhtml"));
  13. $this->head=&$this->add_child(new xml_element("head"));
  14. $this->head->title=&$this->head->add_child(new xml_element("title"));
  15. $this->title=$title;
  16. $this->head->title->add_child($this->title);
  17. $this->head->add_child(new xml_element("meta",array ("name" => "Generator",
  18. "Content" => "PHP::HTML ".PHPHTML_VERSION." / PHP "
  19. .PHP_VERSION." / ".PHP_OS)));
  20. $this->body=&$this->add_child(new xml_element("body"));
  21. }
  22. }
  23.  
  24. ?>

Documentation generated on Tue, 24 May 2005 03:59:18 -0400 by phpDocumentor 1.3.0RC3