internal package Foswiki::Plugin

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. Normally load is 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

This topic: System > WebHome > ReferenceManual > DeveloperDocumentationCategory > PerlDoc
Topic revision: 19 Apr 2011, ProjectContributor
 
This site is powered by FoswikiCopyright &© by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding BACCHUS Wiki? Send feedback