@wuiPhpHtmlDocBegin()

The start of the HTML output for a typical page.

For most NST WUI PHP pages, this will be the first macro you use after setting the page information. It puts in the DOCTYPE, opening <html>, the entire <head> and starts the <body> section with the top banner.

Example of using the macro:

<?php

@wuiPhpSetPageInfo("$Id: wuiphp.xml,v 1.4 2008/12/22 13:24:55 rwhalb Exp $","2006-08-26","NST File Upload")

?>
@wuiPhpHtmlDocBegin()

@p("Here is a paragraph of text to display.")

@wuiPhpHtmlDocEnd()

Assuming the com.ccg.macros.at.All class is within your CLASSPATH and the config/wuiphp.at macros file has been generated (Hint: run make atmacros in the wui directory), a developer should be able to run the above example by copy/pasting from below:

[root@probe root]# java com.ccg.macros.at.All <<EOF
@include("config/wuiphp.at",,"d")

<?php

@wuiPhpSetPageInfo("$Id: wuiphp.xml,v 1.4 2008/12/22 13:24:55 rwhalb Exp $","2006-08-26","NST File Upload")

?>
@wuiPhpHtmlDocBegin()

@p("Here is a paragraph of text to display.")

@wuiPhpHtmlDocEnd()

EOF

This macro is defined as:

@wuiPhpHtmlHeadBegin()
@wuiPhpHtmlHeadEnd()
@wuiPhpHtmlBodyBegin()