Tags:
create new tag
view all tags
ALERT! NOTE: This is a DistributionDocument. This document is generated, please do not change it. Put questions, error notes, and suggestions concerning the documentation of this topic in the comments section below. Use the Support web for problems you are having using TWiki.

Package TWiki::UI

Service functions used by the UI packages

StaticMethod run (\&method)

Entry point for execution of a UI function. The parameter is a reference to the method.

StaticMethod checkWebExists ($session,$web,$topic,$op)

Check if the web exists. If it doesn't, will throw an oops exception. $op is the user operation being performed.

StaticMethod topicExists ($session,$web,$topic,$op)=>boolean

Check if the given topic exists, throwing an OopsException if it doesn't. $op is the user operation being performed.

StaticMethod checkMirror ($session,$web,$topic)

Checks if this web is a mirror web, throwing an OopsException if it is.

StaticMethod checkAccess ($web,$topic,$mode,$user)

Check if the given mode of access by the given user to the given web.topic is permissible, throwing a TWiki::OopsException if not.

StaticMethod readTemplateTopic ($session,$theTopicName) -> ($meta,$text)

Read a topic from the TWiki web, or if that fails from the current web.



Comments & Questions about this Distribution Document Topic

Please use the Support forum if you have questions about TWiki features. This comment section is about the documentation of this topic.
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2006-05-01 - PeterThoeny
 
  • 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-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.