Tags:
view all tags
---+ 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. ... is a list of name-value pairs that define initial context identifiers that must be set during initPlugin. This set will be extended to include command_line if the script is detected as being run outside the browser. ---++ 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.
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r6
|
r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r2 - 2007-01-16
-
TWikiContributor
Log In
or
Register
TWiki Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
User Reference
ATasteOfTWiki
TextFormattingRules
TWikiVariables
FormattedSearch
QuerySearch
TWikiDocGraphics
TWikiSkinBrowser
InstalledPlugins
Admin Maintenance
Reference Manual
AdminToolsCategory
InterWikis
ManagingWebs
TWikiSiteTools
TWikiPreferences
WebPreferences
Categories
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Webs
TWiki
Home
Site map
TWiki web
TWiki Web
User registration
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
User Reference
ATasteOfTWiki
TextFormattingRules
TWikiVariables
FormattedSearch
QuerySearch
TWikiDocGraphics
TWikiSkinBrowser
InstalledPlugins
Admin Maintenance
Reference Manual
InterWikis
ManagingUsers
ManagingWebs
TWikiSiteTools
TWikiPreferences
WebPreferences
Categories
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Account
Log In
Register User
Български
Cesky
Dansk
Deutsch
English
Español
_Français_
Italiano
日本語
한글
Nederlands
Polski
Português
Русский
Svenska
简体中文
簡體中文
Edit
Attach
Copyright © 1999-2025 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
.