From: alex <bin...@li...> - 2001-09-09 06:59:02
|
alex Sat Sep 8 23:58:56 2001 EDT Added files: /r2/binarycloud/docs/specs/xml ModuleEmbedSyntax.xml Log: This is the module embed syntax which will at some point be 'made' into php. Index: r2/binarycloud/docs/specs/xml/ModuleEmbedSyntax.xml +++ r2/binarycloud/docs/specs/xml/ModuleEmbedSyntax.xml <!-- xml module definition --> <bc:module id="moo" name="HelloWorld" package="hello_world"> <cache expires="30" use_uri="true" var="$moo"/> <params> <param_name>value</param_name> <another_param_name>another_value</another_param_name> </params> </bc:module> <!-- after a make: --> <? $Page->BuildStaticModule(array('name' => 'HelloWorld','package' => 'hello_world','id' => 'moo','cache' => array('expires'=>'30','use_uri'=>true,'var'=>'$moo'),'params' => array('param_name' => 'value','another_param_name' => 'another_value'))); ?> |