Re[2]: passing parameters to xslt
qMax <[email protected]> Wed, 25 Jan 2006 21:46:07 +0600
| Newsgroups | gmane.comp.cms.bitflux.general |
|---|---|
| Message-ID | <[email protected]> |
Wednesday, January 25, 2006, 8:22:46 PM, Christian Stocker wrote:
CS> 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()
CS> I don't get what you exactly mean with this. And how does this make it
CS> easier?
Maybe i misunderstood something,
but if to declare them as type="pipeline", they get merged with all
pipeline params. and then somehow need to be threated with
multiple="yes".
if to get them as another type, they will be retrieved as an array.
Am i wrong ?
--
qMax
--
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms