Need help?

Contact SCC

Email scicomp
Join #scicomp on Slack

Help us help you

Follow these guidelines when submitting a help request.

PerlDoc

18 Dec 2024 - 14:20 | Version 1 |
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 '';
    }
    

    Copyright © Simons Foundation. All material on this collaboration platform is the property of the Simons Foundation.
    This website is using cookies. More info. That's Fine