Sie sind nicht angemeldet.

1

Samstag, 30. Juni 2012, 16:21

Get() in plugins

Hello everyone.
I hope this is the right place to post this issue.

I would like to have something like

Quellcode

1
2
3
4
5
<plugin name="plugin_name" 
...
some_var="get(plugin[other_plugin_name].other_var);"
...    	
    	/>


I do not know if something similar to this is possible. To be honest, I did not find anything indicating how to carry out susch a var transfer from one plugin to another, so to say.

Can someone help me with this one.

xanks
Pat

2

Sonntag, 1. Juli 2012, 16:14

The best you can do is use the onloaded property to set your some_var variable/property.

Quellcode

1
2
3
4
5
<plugin name="plugin_name" 
...
onloaded="copy(some_var, plugin[other_plugin_name].other_var);"
...    	
    	/>

3

Mittwoch, 11. Juli 2012, 23:45

yeap, perfect, that's what I was looking for...

cheers