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

-- TimoBaumann - 12 Oct 2015

 
Copyright � by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback