Source for file phphtml.php

Documentation is available at phphtml.php

  1. <?
  2.  
  3. define (PHPHTML_VERSION, "0.6.4");
  4.  
  5. /* gettext is not implemented for now*/
  6. $use_gettext=0;
  7.  
  8. /* We need to know where the PHP::HTML tree is installed.*/
  9.  
  10. if (strlen(chop($htmlclass_path))==0) $htmlclass_path=".";
  11. if ($use_gettext==1)
  12. {
  13. if (function_exists("gettext"))
  14. {
  15. $gettext_enable=1;
  16. }
  17. }
  18.  
  19. include("$htmlclass_path/ext.php"); /* Some extenstions to PHP */
  20. include("$htmlclass_path/core.php"); /* PHP::HTML Core */
  21. include("$htmlclass_path/xhtml.php"); /* XHTML extensions */
  22. include("$htmlclass_path/xhtml_table.php"); /* XHTML tables extensions */
  23. include("$htmlclass_path/xhtml_forms.php"); /* XHTML forms extensions */
  24. include("$htmlclass_path/xhtml_doc.php"); /* XHTML document extension */
  25. include("$htmlclass_path/wml.php"); /* WML extension */
  26. /* Below is a debugging example */
  27.  
  28. /*
  29. $t=new XHTML_doc("Hello");
  30. echo $t->render();
  31. */

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