Back to index

plone3  3.1.7
Public Member Functions
plone.app.contentmenu.interfaces.IContentMenuView Class Reference
Inheritance diagram for plone.app.contentmenu.interfaces.IContentMenuView:
Inheritance graph
[legend]
Collaboration diagram for plone.app.contentmenu.interfaces.IContentMenuView:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def available
def menu

Detailed Description

The view that powers the content menu (the green bar at the top of
the editable border).

This will construct a menu by finding an adapter to IContentMenu.

Definition at line 11 of file interfaces.py.


Member Function Documentation

Determine whether the menu should be displayed at all.

Definition at line 18 of file interfaces.py.

00018 
00019     def available():
00020         """Determine whether the menu should be displayed at all.
00021         """

Here is the caller graph for this function:

Create a list of dicts that can be used to render a menu.

The keys in this dict are: title, description, action (a URL),
selected (a boolean), icon (a URI), extra (a random payload), and
submenu

Definition at line 22 of file interfaces.py.

00022 
00023     def menu():
00024         """Create a list of dicts that can be used to render a menu.
00025 
00026         The keys in this dict are: title, description, action (a URL),
00027         selected (a boolean), icon (a URI), extra (a random payload), and
00028         submenu
00029         """
00030 
00031 # The content menu itself - menu items are registered as adapters to this
00032 # interface (this is signalled by marking the interface itself with the
00033 # IInterface IMenuItemType)


The documentation for this class was generated from the following file: