The Caboteria / TWiki Web / TWikiUIManageDotPm (21 Jan 2008, TWikiContributor)

Package TWiki::UI::Manage

UI functions for web, topic and user management

StaticMethod manage ($session)

manage command handler. This method is designed to be invoked via the UI::run method.

StaticMethod rename ($session)

rename command handler. This method is designed to be invoked via the UI::run method. Rename the given topic. Details of the new topic name are passed in CGI parameters:

skin skin(s) to use
newweb new web name
newtopic new topic name
breaklock  
attachment  
confirm if defined, requires a second level of confirmation
currentwebonly if defined, searches current web only for links to this topic
nonwikiword if defined, a non-wikiword is acceptable for the new topic name

StaticMethod move ($session,$oldWeb,$oldTopic,$newWeb,$newTopic,$attachment,\@refs)

Move the given topic, or an attachment in the topic, correcting refs to the topic in the topic itself, and in the list of topics (specified as web.topic pairs) in the \@refs array.

Will throw TWiki::OopsException or TWiki::AccessControlException on an error.

StaticMethod getReferringTopics ($session,$web,$topic,$allWebs) -> \%matches

Returns a hash that maps the web.topic name to a summary of the lines that matched. Will not return $web.$topic in the list

Edit | Attach | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding The Caboteria? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiUIManageDotPm.