Tags:
create new tag
, view all tags

MoreFuncContrib

This contrib contains basic functionality needed by many plugins that is not included in Dakar's TWiki::Func. Some or all of these will probably be merged into the TWiki::Func at some point.

Webs, Topics, and Attachments

readTopicMeta($web, $topic, $rev) -> $metadata

Returns the metadata for a topic.

getTopicPreferenceValue($web, $topic, $prefName) -> $pref

Returns the value of a topic's preference.

getChildWebs($web) -> $listOfWebs

Returns a list of a web's child webs

Plugin-specific file handling

readWorkFile($pluginName, $fileName) -> $data

Returns the contents of a file in a particular plugin's work area

saveWorkFile($pluginName, $fileName, $data)

Saves $data to a file in a plugin's work area

deleteWorkFile($pluginName, $fileName)

Delete a file in a plugin's work area

General Utilities

buildMimeHash($session) -> $hash

Return a mapping of extention to mime type

suffixToMimeType ( $session, $theFilename ) -> $mimetype

Returns the mime type of a file based on its suffix

Installation Instructions

  • Download the ZIP file from the Plugin web (see below)
  • Unzip MoreFuncContrib.zip in your twiki installation directory. Content:
    File: Description:
    data/TWiki/MoreFuncContrib.txt Plugin doc page
    lib/TWiki/Contrib/MoreFuncContrib.pm Plugin Perl module

  • Run MoreFuncContrib_installer.pl to automatically check and install other modules that this module depends on. You can also do this step manually. Dependencies: None

Contrib Info

Author: TWiki:Main.MeredithLesly
Copyright ©: 2006 Meredith Lesly based on code from other TWiki contributors
License: GPL (GNU General Public License)
Dependencies: None
Version: 10562
Change History:  
2017-11-07: Initial version
Home: http://TWiki.org/cgi-bin/view/Plugins/MoreFuncContrib
Feedback: http://TWiki.org/cgi-bin/view/Plugins/MoreFuncContribDev
Appraisal: http://TWiki.org/cgi-bin/view/Plugins/MoreFuncContribAppraisal

Related Topics: TWikiFuncDotPm

-- TWiki:Main.MeredithLesly - 2017-11-07

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatmd5 MoreFuncContrib.md5 r5 r4 r3 r2 r1 manage 0.2 K 2008-12-12 - 11:46 SopanShewale checksum file , Uploaded as a part of Release Process
Compressed Zip archivetgz MoreFuncContrib.tgz r5 r4 r3 r2 r1 manage 3.9 K 2008-12-12 - 11:46 SopanShewale See MoreFuncContrib for details. Untar and run the installer script, Uploaded as a part of Release Process
Compressed Zip archivezip MoreFuncContrib.zip r5 r4 r3 r2 r1 manage 5.1 K 2008-12-12 - 11:46 SopanShewale See MoreFuncContrib for details. Unzip and run the installer script , Uploaded as a part of Release Process
Unknown file formatEXT MoreFuncContrib_installer r2 r1 manage 3.4 K 2008-12-12 - 11:46 SopanShewale Installer Script, Uploaded as a part of Release Process
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2008-12-12 - SopanShewale
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.