See 
PublishedAPI for packages intended to be used by Plugin and Contrib authors, or 
browse all packages.
See also 
Developing plugins, 
Developer's Bible, 
Technical Overview
 ClassMethod new( $session, $name, [, $module] ) 
 
-  $session- Foswiki object
-  $name- name of the plugin e.g. MyPlugin
-  $module- name of implementing package; optional, used for tests.     Normallyloadis used to discover the module from the config.
 ObjectMethod finish() 
Break circular references.
 ObjectMethod topicWeb() → $webname 
Find the web that has the topic for this plugin by searching the
{Plugins}{WebSearchPath}. Returns undef if $NO_PREFS_IN_TOPIC=1