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


On this page:

internal package Foswiki::Plugins::DeeplPlugin

base class to hook into the foswiki core

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

initialize the plugin, automatically called during the core initialization process

getCore() → $core

returns a singleton Foswiki::Plugins::DeepPlugin::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()

finishPlugin

finish the plugin and the core if it has been used, automatically called during the core initialization process

ObjectMethod commonTagsHandler($text, $topic, $web, $included, $meta)

hook into the macro parser, adds the %STARTDEEPL .... %ENDDEEPL sectional translations.

afterSaveHandler($text, $topic, $web, $error, $meta )

translate a topic as part of a save action

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 Foswiki? Send feedback