+++ /dev/null
-# <a name="Package <code>TWiki::UI="></a> Package =TWiki::UI
-
-Service functions used by the UI packages
-
-<div>
- <ul>
- <li><a href="#Package =TWiki::UI="> Package TWiki::UI</a><ul>
- <li><a href="#StaticMethod <strong>run</strong> (\method,...)"> StaticMethod run <tt>(\&method,...)</tt></a></li>
- <li><a href="#StaticMethod <strong>check_WebExists</strong> ("> StaticMethod checkWebExists <tt>($session,$web,$topic,$op)</tt></a></li>
- <li><a href="#StaticMethod <strong>topicExists</strong> ($ses"> StaticMethod topicExists <tt>($session,$web,$topic,$op)=>boolean</tt></a></li>
- <li><a href="#StaticMethod <strong>checkMirror</strong> ($ses"> StaticMethod checkMirror <tt>($session,$web,$topic)</tt></a></li>
- <li><a href="#StaticMethod <strong>checkAccess</strong> ($web"> StaticMethod checkAccess <tt>($web,$topic,$mode,$user)</tt></a></li>
- <li><a href="#StaticMethod *read_TemplateTopic"> StaticMethod readTemplateTopic <tt>($session,$theTopicName) -> ($meta,$text)</tt></a></li>
- </ul>
- </li>
- </ul>
-</div>
-
-## <a name="StaticMethod <strong>run</strong> (\method,...)"></a> [[StaticMethod]] **run** `(\&method,...)`
-
-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.
-
-## <a name="StaticMethod <strong>check_WebExists</strong> ("></a> [[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.
-
-## <a name="StaticMethod <strong>topicExists</strong> ($ses"></a> [[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.
-
-## <a name="StaticMethod <strong>checkMirror</strong> ($ses"></a> [[StaticMethod]] **checkMirror** `($session,$web,$topic)`
-
-Checks if this web is a mirror web, throwing an [[OopsException]] if it is.
-
-## <a name="StaticMethod <strong>checkAccess</strong> ($web"></a> [[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.
-
-## <a name="StaticMethod <strong>read_TemplateTopic"></a> [[StaticMethod]] \*readTemplateTopic `($session,$theTopicName) -> ($meta,$text)`
-
-Read a topic from the TWiki web, or if that fails from the current web.