E
dit
W
YSIWYG
A
ttach
P
rintable
r1 - 01 Feb 2006 - 12:01:25 -
TWikiContributor
You are here:
TWiki
>
TWiki Web
>
TWikiUIDotPm
---+ Package =TWiki::UI= Service functions used by the UI packages %TOC% ---++ StaticMethod *run* <tt>(\&method)</tt> Entry point for execution of a UI function. The parameter is a reference to the method. ---++ StaticMethod *checkWebExists* <tt>($session,$web,$topic,$op)</tt> Check if the web exists. If it doesn't, will throw an oops exception. $op is the user operation being performed. ---++ StaticMethod *topicExists* <tt>($session,$web,$topic,$op)=>boolean</tt> Check if the given topic exists, throwing an OopsException if it doesn't. $op is the user operation being performed. ---++ StaticMethod *checkMirror* <tt>($session,$web,$topic)</tt> Checks if this web is a mirror web, throwing an OopsException if it is. ---++ StaticMethod *checkAccess* <tt>($web,$topic,$mode,$user)</tt> 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* <tt>($session,$theTopicName) -> ($meta,$text)</tt> Read a topic from the TWiki web, or if that fails from the current web.
E
dit
|
W
YSIWYG
|
A
ttach
|
P
rintable
|
V
iew topic
|
Backlinks:
We
b
,
A
l
l Webs
|
H
istory
: r1
|
M
ore topic actions
TWiki
Log In
TWiki Web
Webs
Main
TWiki
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback
Note:
Please contribute updates to this topic on TWiki.org at
TWiki:TWiki.TWikiUIDotPm