See
PublishedAPI for packages intended to be used by Plugin and Contrib authors, or
browse all packages.
See also
Developing plugins,
Developer's Bible,
Technical Overview
ObjectMethod handle($command, $state)
implements the
createTopic workflow command
known parameters:
- _DEFAULT or topic: topic name to be created, can be a full web.topic
- web: web to create the topic in, defaults to the current state's web
- overwrite: boolean switch to overwrite any existing topic, defaults to off thus warning when the same topic is about to be created again
- template: topic name of a template topic to be used
- parent: parent topic
- text: new text
- form: topic name of a form to be attached
- redirectto: web.topic name to redirect to after the topic has been created, can be a full http url as well
- redirect: boolean switch to redirect to the newly created topic
- <fieldName>: value for the given field