PerlDoc

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


Parent package: Foswiki::Plugins
Child packages:

internal package Foswiki::Plugins::LikePlugin

base class to hook into the foswiki core

initPlugin($topic, $web, $user) → $boolean

initialize the plugin, automatically called during the core initialization process

ClassMethod finish()

called when this object is destroyed

getCore() → $core

returns a singleton Foswiki::Plugins::LikePlugin::Core object for this plugin; a new core is allocated during each session request; once a core has been created it is destroyed during finishPlugin()

ClassMethod afterRenameHandler()

called by the core whenever a topic or attachment is renamed

ClassMethod registerAfterLikeHandler($sub)

register a callback handler to be called whenever a like is performed

Topic revision: r1 - 24 Jun 2022, 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 Moseley Bioinformatics Lab? Send feedback