[top] / zope / app / onlinehelp / interfaces / IOnlineHelp
The root of an onlinehelp hierarchy.
Manages the registration of new topics.
id
*
-
TextLine
(default =
u''
)
The Id of this Help Topic
path
*
-
TextLine
(default =
u'./README.TXT'
)
The Path to the Definition of a Help Topic
source
*
-
SourceText
(default =
u''
)
Renderable source text of the topic.
title
*
-
TextLine
(default =
u'Help Topic'
)
The Title of a Help Topic
type
*
-
Choice
(default =
u'zope.source.rest'
)
Type of the source text, e.g. structured text
view
*
-
TextLine
(default =
u''
)
The View Name for which this Help Topic is registered
interface
-
GlobalInterface
(default =
None
)
Interface for which this Help Topic is registered.
parentPath
-
TextLine
(default =
u''
)
The Path to the Parent of this Help Topic
* = required
getTopicPath()
Return the presumed path to the topic, even the topic is not traversable from the onlinehelp.
__delitem__(name)
Delete the named object from the container.
Raises a KeyError if the object is not found.
If the deleted object's __parent__ and __name__ match the container and given name, then an IObjectRemovedEvent is generated and the attributes are set to None. If the object can be adapted to IObjectMovedEvent, then the adapter's moveNotify method is called with the event.
Unless the object's __parent__ and __name__ attributes were initially None, generate an IContainerModifiedEvent for the container.
If the object's __parent__ and __name__ were already set to None, then no events are generated. This allows advanced clients to take over event generation.
__getitem__(key)
Get a value for a key
A KeyError is raised if there is no value for the key.
getSubTopics()
Returns IOnlineHelpTopic provided childs.
get(key, default=None)
Get a value for a key
The default is returned if there is no value for the key.
keys()
Return the keys of the mapping object.
items()
Return the items of the mapping object.
__contains__(key)
Tell if a key exists in the mapping.
__iter__()
Return an iterator for the keys of the mapping object.
addResources(resources)
Add resources to this Help Topic.
The resources must be located in the same directory as the Help Topic itself.
__setitem__(name, object)
Add the given object to the container under the given name.
Raises a TypeError if the key is not a unicode or ascii string. Raises a ValueError if key is empty.
The container might choose to add a different object than the one passed to this method.
If the object doesn't implement IContained, then one of two things must be done:
The object's __parent__ and __name__ attributes are set to the container and the given name.
If the old parent was None, then an IObjectAddedEvent is generated, otherwise, an IObjectMovedEvent is generated. An IContainerModifiedEvent is generated for the container.
If the object replaces another object, then the old object is deleted before the new object is added, unless the container vetos the replacement by raising an exception.
If the object's __parent__ and __name__ were already set to the container and the name, then no events are generated and no hooks. This allows advanced clients to take over event generation.
values()
Return the values of the mapping object.
registerHelpTopic(parent_path, id, title, doc_path, interface=None, view=None, resources=None)
This method registers a topic at the correct place.
parent_path -- Location of this topic's parent in the OnlineHelp tree. Need not to exist at time of creation.
id -- Specifies the id of the topic
title -- Specifies title of the topic. This title will be used in the tree as Identification.
doc_path -- Specifies where the file that contains the topic content is located.
interface -- Name of the interface for which the help topic is being registered. This can be optional, since not all topics must be bound to a particular interface.
view -- This attribute specifies the name of the view for which this topic is registered. Note that this attribute is also optional.
resources -- Specifies a list of resources for the topic, for example images that are included by the rendered topic content. Optional.
__len__()
Return the number of items.
There are no specific adapters registered for this interface.
zope.app.pagetemplate.talesapi.ZopeTalesAPI
(name: zope)
zope.traversing.namespace.acquire
(name: acquire)
zope.traversing.namespace.acquire
(name: acquire)
zope.traversing.namespace.acquire
(name: acquire)
zope.traversing.namespace.acquire
(name: acquire)
zope.traversing.namespace.item
(name: item)
zope.traversing.namespace.item
(name: item)
zope.traversing.namespace.item
(name: item)
zope.traversing.namespace.item
(name: item)
zope.app.pagetemplate.urlquote.URLQuote
(name: url)
zope.traversing.namespace.etc
(name: etc)
zope.traversing.namespace.etc
(name: etc)
zope.traversing.namespace.etc
(name: etc)
zope.traversing.namespace.etc
(name: etc)
zope.formlib.namedtemplate.NamedTemplatePathAdapter
(name: template)
zope.app.apidoc.codemodule.browser.introspector.annotationsNamespace
(name: annotations)
zope.traversing.namespace.adapter
(name: adapter)
zope.traversing.namespace.adapter
(name: adapter)
zope.traversing.namespace.adapter
(name: adapter)
zope.traversing.namespace.adapter
(name: adapter)
zope.app.component.back35.RegistrationManagerNamespace
(name: registrations)
zope.traversing.namespace.lang
(name: lang)
zope.app.preference.preference.preferencesNamespace
(name: preferences)
zope.traversing.namespace.view
(name: view)
zope.traversing.namespace.view
(name: view)
zope.traversing.namespace.view
(name: view)
zope.traversing.namespace.view
(name: view)
zope.traversing.namespace.attr
(name: attribute)
zope.traversing.namespace.attr
(name: attribute)
zope.traversing.namespace.attr
(name: attribute)
zope.traversing.namespace.attr
(name: attribute)
zope.traversing.namespace.attr
(name: attribute)
zope.app.apidoc.apidoc.apidocNamespace
(name: apidoc)
zope.traversing.namespace.skin
(name: skin)
zope.traversing.namespace.skin
(name: skin)
zope.traversing.namespace.skin
(name: skin)
zope.traversing.namespace.skin
(name: skin)
zope.traversing.namespace.etc
(name: etc)
zope.app.onlinehelp.helpNamespace
(name: help)
zope.traversing.namespace.item
(name: item)
zope.app.apidoc.codemodule.browser.introspector.annotationsNamespace
(name: annotations)
zope.app.apidoc.codemodule.browser.introspector.annotationsNamespace
(name: annotations)
zope.app.apidoc.codemodule.browser.introspector.annotationsNamespace
(name: annotations)
zope.app.apidoc.codemodule.browser.introspector.annotationsNamespace
(name: annotations)
zope.traversing.namespace.acquire
(name: acquire)
zope.traversing.namespace.debug
(name: debug)
zope.traversing.namespace.debug
(name: debug)
zope.traversing.namespace.debug
(name: debug)
zope.traversing.namespace.debug
(name: debug)
zope.traversing.namespace.adapter
(name: adapter)
zope.traversing.namespace.vh
(name: vh)
zope.traversing.namespace.vh
(name: vh)
zope.traversing.namespace.vh
(name: vh)
zope.traversing.namespace.vh
(name: vh)
zope.traversing.namespace.lang
(name: lang)
zope.traversing.namespace.lang
(name: lang)
zope.traversing.namespace.lang
(name: lang)
zope.traversing.namespace.lang
(name: lang)
zope.app.preference.preference.preferencesNamespace
(name: preferences)
zope.app.preference.preference.preferencesNamespace
(name: preferences)
zope.app.preference.preference.preferencesNamespace
(name: preferences)
zope.app.preference.preference.preferencesNamespace
(name: preferences)
zope.traversing.namespace.resource
(name: resource)
zope.traversing.namespace.resource
(name: resource)
zope.traversing.namespace.resource
(name: resource)
zope.traversing.namespace.resource
(name: resource)
zope.app.preference.default.DefaultPreferences
(name: preferences)
zope.app.apidoc.apidoc.apidocNamespace
(name: apidoc)
zope.app.apidoc.apidoc.apidocNamespace
(name: apidoc)
zope.app.apidoc.apidoc.apidocNamespace
(name: apidoc)
zope.app.apidoc.apidoc.apidocNamespace
(name: apidoc)
zope.app.onlinehelp.helpNamespace
(name: help)
zope.app.onlinehelp.helpNamespace
(name: help)
zope.app.onlinehelp.helpNamespace
(name: help)
zope.app.onlinehelp.helpNamespace
(name: help)
There are no views available.
There are no views available.
There are no views available.
There are no views available.
There are no views available.
There are no views available.
There are no views available.
There are no views available.