The short answer is that your database tables will want to have a site_id key to keep data separate and make querying for the correct data simple based on the currently site ($PREFS->ini(‘site_id’), or the $TMPL->site_ids array which will automatically be set for you when a site= parameter is used in your module’s tags. You could also of course use a table to control member group access to your module in specific sites if you wish, again, with site_id being the key.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.