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

Topic revision: r1 - 02 Mar 2020, UnknownUser
© 2020 Ultranauts - 75 Broad Street, 2nd Floor, Suite 206, New York, NY 10004 - info@ultranauts.co