Re[2]: passing parameters to xslt
qMax <[email protected]> Wed, 25 Jan 2006 18:25:25 +0600
| Newsgroups | gmane.comp.cms.bitflux.general |
|---|---|
| Message-ID | <[email protected]> |
Wednesday, January 25, 2006, 4:24:41 PM, Christian Stocker wrote:
CS> <plugins>
CS> <parameter key="param1" name="xsltparams" type="pipeline" value="somevalue"/>
CS> <parameter key="param2" name="xsltparams" type="pipeline"
CS> value="someothervalue"/>
CS> <plugin .....
CS> </plugin>
CS> </plugins>
Maybe better is:
<parameter type="xhtmlparams" name="foo_name" value="foo_value"/>
Then in bx_collection::getPipelineParameters() adding:
$params = array_merge( $params, $this->config->getParameters("pipeline"));
+$params['xsltparams'] = $this->config->getParameters("xsltparams");
So pipeline parameter 'xsltparams' will be set to an array and passed
right to popoon_components_actions_bxcms::act()
--
qMax
--
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms