Inserts a small block of PHP code into HTML area.
The following parameters are recognized:
PHP code to execute (you should semi-colon terminate).
Example of using the macro:
@heading("@wuiPhpHtmlInline("echo $wuiPageInfo->getTitle();")")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")@heading("@wuiPhpHtmlInline("echo $wuiPageInfo->getTitle();")")EOF
This macro is defined as:
<?php @param(0) ?>