how to pass array from plugin to module

This forum is for general questions about extensions for Joomla! 2.5.

Moderators: pe7er, General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
MattSim
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Feb 01, 2011 12:54 pm

how to pass array from plugin to module

Post by MattSim » Wed Feb 02, 2011 4:27 pm

I found a plugin+module for 1.5 but even after updating the event names etc, it still doesn't work. So i'd like to 'reinvent the wheel'. I understand the 'content' of the code (arrays and grep'ing) but not how to pass a variable array from the plugin to the module. Looks like the 1.5 code declared 'global $headinglinks' in both plg+mod, but i don't understand what namespace it lives in that is also shared/accessible to both plg+mod, and why does it not seem to survive in 1.6?

Thanks!

 
 
Locked

Return to “Extensions for Joomla! 2.5”