Welcome, Registration, and other StartingPoints; TWiki history & Wiki style; All the docs...
View   r2  >  r1  ...
TWikiUIDotPm 2 - 16 Jan 2007 - Main.TWikiContributor
Line: 5 to 5
 
Changed:
<
<

StaticMethod run (\&method)

>
>

StaticMethod run (\&method,...)

 Entry point for execution of a UI function. The parameter is a reference to the method.
Added:
>
>
... 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 ($session,$web,$topic,$op)


TWikiUIDotPm 1 - 01 Feb 2006 - Main.TWikiContributor
Line: 1 to 1
Added:
>
>

Package TWiki::UI

Service functions used by the UI packages

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.


Revision 2r2 - 16 Jan 2007 - 04:12:05 - TWikiContributor
Revision 1r1 - 01 Feb 2006 - 12:01:25 - TWikiContributor
This site is powered by the TWiki collaboration platform.
All material on this collaboration platform is the property of the contributing authors.
All material marked as authored by Eben Moglen is available under the license terms CC-BY-SA version 4.
Syndicate this site RSSATOM