Daya Bay Reactor Neutrino Experiment
TWiki > TWikiUIDotPm (1 vs. 6)
Daya Bay webs: Public | 中文 | Internal | Help   Log In or Register

Welcome | Register | Changes | Topics | Index | Search | Go
 <<O>>  Difference Topic TWikiUIDotPm (6 - 2013-10-14 - TWikiContributor)

 <<O>>  Difference Topic TWikiUIDotPm (5 - 2011-08-21 - TWikiContributor)

 <<O>>  Difference Topic TWikiUIDotPm (4 - 2010-05-29 - TWikiContributor)

 <<O>>  Difference Topic TWikiUIDotPm (3 - 2009-09-02 - TWikiContributor)

 <<O>>  Difference Topic TWikiUIDotPm (2 - 2007-01-16 - TWikiContributor)

 <<O>>  Difference Topic TWikiUIDotPm (1 - 2006-02-01 - TWikiContributor)
Line: 1 to 1
Added:
>
>

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.


View | History: r6 < r5 < r4 < r3 | More

View | History: r6 < r5 < r4 < r3 | More
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Daya Bay? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiUIDotPm.