Tags:
create new tag
, view all tags

Feature Proposal: Make TWiki::UI::Save::_save available outside of its module

Motivation

When implementing savemulti for SectionalEditPlugin, I found that the TWiki::UI::Save package was very easy to reuse, where in the previous versions of TWiki large portions of code had to be duplicated.

However, this reuse hinges on the fact that I called TWiki::UI::Save::_save from outside of this package. There is a warning in the code related to that subroutine stating that

# Private - do not call outside this module!

In order to support reuse, I request that this subroutine is made public. Any plugin that needs to modify how text is edited and subsequently saved and uses the savemulti style will need access to TWiki::UI::Save::_save.

Description

Really nothing is required other than freezing the API of this function.

Impact and Available Solutions

Documentation

I will add documentation if feature is accepted.

Examples

See SectionalEditPlugin.

Implementation

The interface to Store has been heavily reworked, and includes simple methods for saving topics. On the assumption that this is what's needed I'm setting this to "done".

-- CrawfordCurrie - 13 Feb 2005


Discussion:

 
Topic revision: r2 - 2005-02-13 - CrawfordCurrie
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.