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::JQueryPlugin
Child packages:

    internal package Foswiki::Plugins::JQueryPlugin::EMPTY

    This is the perl stub for the jquery.empty plugin.

    ClassMethod new( $class, ... )

    Constructor

    ClassMethod init( $this )

    Initialize this plugin by adding the required static files to the html header

    ClassMethod handleEMPTY( $this, $params, $topic, $web ) → $result

    Tag handler for %EMPTY%. You might need to add to Foswiki::Plugins::JQueryPlugin::initPlugin() the following:

      Foswiki::Func::registerTagHandler('EMPTY', \&handleEMPTY );
    

    and also

    sub handleEMPTY {
      my $session = shift;
      my $plugin = createPlugin('Empty', $session);
      return $plugin->handleEMPTY(@_) if $plugin;
      return '';
    }
    

    Topic revision: r1 - 24 Jun 2022, ProjectContributor - This page was cached on 28 Nov 2024 - 07:41.

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