There's a comment about Midgard UDF's here:
http://www.midgard-project.org/manual/en/part.concepts.syntaxaddition.php
Can I assume that if the docs were updated, then there would be a new
"inline variable display modifier", x?
X: Add a value as formatted by the name which is registered to the user
defined filter/formatter function.
...
function display_topic($top) {
if($top->__table__ != "topic") {
echo "This is not a topic";
}
echo "<h1>$top->name</h1>;
echo "<p>$top-description</p>";
/* list articles here... and so on... */
}
mgd_register_filter("top", "display_topic");
$var = mgd_get_topic(1);
?>
&(var:xtop);
^^^^^
This last line seems to be the most important point -- is x the modifier and
top is the registered name?
William Bull
Program Manager
QNX Software Systems Ltd.
Email: [EMAIL PROTECTED]
Voice: (613) 591-0836 x9387
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]