Re: passing parameters to xslt

Christian Stocker <[email protected]> Wed, 25 Jan 2006 15:22:46 +0100
Newsgroups gmane.comp.cms.bitflux.general
Organization Bitflux GmbH
Message-ID <[email protected]>

On 25.1.2006 13:25 Uhr, qMax wrote:
> 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()

I don't get what you exactly mean with this. And how does this make it
easier?

chregu
> 

-- 
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 44 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71
http://www.bitflux.ch | [email protected] |  GPG 0x5CE1DECB
-- 
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms