Package TWiki::UI
Service functions used by the UI packages
On this page:
- 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)
Static Method 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.Static Method 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.Static Method topicExists ($session,$web,$topic,$op)=>boolean
Check if the given topic exists, throwing an Oops Exception? if it doesn't. $op is the user operation being performed.Static Method checkMirror ($session,$web,$topic)
Checks if this web is a mirror web, throwing an Oops Exception? if it is.Static Method 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.Static Method readTemplateTopic ($session,$theTopicName) -> ($meta,$text)
Read a topic from the TWiki web, or if that fails from the current web.| Topic TWikiUIDotPm . { Edit | Attach | Backlinks: Web All webs | Printable | History: r2 < r1 More } |