Log In
or
Register
TWiki Web
Users
Groups
Index
Search
Changes
Notifications
Statistics
Preferences
User Reference
ATasteOfTWiki
TextFormattingRules
TWikiVariables
TWikiDocGraphics
TWikiSkinBrowser
InstalledPlugins
Admin Maintenance
AdminToolsCategory
InterWikis
ManagingWebs
TWikiSiteTools
TWikiPreferences
WebPreferences
Categories
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Webs
Main
Sandbox
TWiki
You are here:
FS
>
TWiki Web
>
TWikiUIDotPm
r1 - 17 Dec 2005 - 13:33 -
TWikiContributor
E
dit
A
ttach
P
rintable
Start of topic |
Skip to actions
Package
TWiki::UI
Service functions used by the UI packages
Package TWiki::UI
StaticMethod run
(\&method)
StaticMethod checkWebExists
($session,$web,$topic,$op)
StaticMethod topicExists
($session,$web,$topic,$op)=>boolean
StaticMethod checkMirror
($session,$web,$topic)
StaticMethod checkAccess
($web,$topic,$mode,$user)
StaticMethod readTemplateTopic
($session,$theTopicName) -> ($meta,$text)
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.
End of topic
Skip to actions
|
Back to top
E
dit
|
A
ttach
|
P
rintable
|
R
aw view
|
Backlinks:
We
b
,
A
l
l webs
|
H
istory
: r1
|
M
ore topic actions
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding FS?
Send feedback