release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



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

r1 - 19 Apr 2011 - 03:38:03 - 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 Wiki? Send feedback