Tags:
create new tag
view all tags
---+ Package =TWiki::UI= Coordinator of execution flow and service functions used by the UI packages %TOC% ---++ StaticMethod *handleRequest* <tt>($req) -> $res</tt> Main coordinator of request-process-response cycle. ---++ StaticMethod *execute* <tt>($req,$sub,%initialContext) -> $res</tt> Creates a TWiki session object with %initalContext and calls $sub method. Returns the TWiki::Response object generated ---++ StaticMethod *logon* <tt>($session)</tt> Handler to "logon" action. * =$session= is a TWiki session object ---++ StaticMethod *checkWebExists* <tt>($session,$web,$topic,$op)</tt> Check if the web exists. If it does not, 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 *checkWebWritable* <tt>($session)</tt> Checks if this web is writable on this site, Throwing an exception if it is not. ---++ 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> Search for a template topic in current web, Main web, and TWiki web, in that order. ---++ StaticMethod *run* <tt>($method)</tt> Supported for bin scripts that were written for TWiki < 5.0. The parameter is a function reference to the UI method to call, and is ignored in TWiki >= 5.0, where it should be replaced by a Config.spec entry such as: # **PERL H** # Bin script registration - do not modify $TWiki::cfg{SwitchBoard}{publish} = [ "TWiki::Contrib::Publish", "publish", { publishing => 1 } ]; ---++ StaticMethod *verifyCryptToken* <tt>($session,$crypt_token)</tt>
E
dit
|
A
nexar
|
Watch
|
Im
p
rimir
|
H
istórico
: r7
<
r6
<
r5
<
r4
<
r3
|
We
b
|
V
er tópico
|
Ra
w
edit
|
M
ais ações de tópico
Versão do tópico: r7 - 16 Jul 2018
-
TWikiContributor
Home
Site map
Main web
Sandbox web
TWiki web
Web TWiki
User registration
Usuários
Grupos
Índice
Busca
Alterações
Notificações
Fonte RSS
Estatísticas
Preferências
Ver
Raw View
Print version
Find backlinks
History
More topic actions
Editar
Editar modo texto
Attach file or image
Editar preferências do tópico
Marcar novo tópico pai
More topic actions
Referência do usuário
ATasteOfTWiki
TextFormattingRules
TWikiVariables
FormattedSearch
QuerySearch
TWikiDocGraphics
TWikiSkinBrowser
InstalledPlugins
Manutenção Administrativa
Reference Manual
InterWikis
ManagingUsers
ManagingWebs
TWikiSiteTools
TWikiPreferences
WebPreferences
Categorias
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Account
Iniciar sessão
Български
Cesky
Dansk
Deutsch
English
Español
_Français_
Italiano
日本語
한글
Nederlands
Polski
Português
Русский
Svenska
简体中文
簡體中文
E
dit
A
nexar
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Idéias, solicitações, problemas com relação ao TWiki?
Nos dê um retorno
Note:
Please contribute updates to this topic on TWiki.org at
TWiki:TWiki.TWikiUIDotPm
.