internal package Foswiki::Plugins::ImagePlugin

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

internal package Foswiki::Plugins::ImagePlugin

base class to hook into the foswiki core

initPlugin($topic, $web, $user) -> $boolean

initialize the plugin, automatically called during the core initialization process

ClassMethod getCore() → $core

returns a singleton Foswiki::Plugins::ImagePlugin::Core

ClassMethod finishPlugin()

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

ClassMethod ObjectMethod afterRenameHandler()

ClassMethod afterSaveHandler()

ClassMethod commonTagsHandler()

ClassMethod takeOutBlocks($text, $tag, $map) → $processedText

compatibility wrapper

ClassMethod putBackBlocks($text, $tag, $map) → $processedText

compatibility wrapper

ClassMethod renderLocalImage($web, $topic, $text) → $result

handles local images, called by commonTagsHandler()

ObjectMethod renderExternalImage(web, $topic, $prefix, $url) → $result

handles external images, called by commonTagsHandler()

ClassMethod getPubUrl()

compatibility wrapper, returns the absolute pub url

Versione pagina: r1 - 21 Nov 2014, ProjectContributor
This site is powered by FoswikiCopyright © di chi contribuisce. Tutti i materiali presenti su questo sito sono di proprietà dei rispettivi autori.
Idee, richieste, problemi relativi a Leader.IT? Invia un commento!