Last change
on this file since 48 was
46,
checked in by crchemist, 19 years ago
|
rename file
|
-
Property svn:eol-style set to
native
|
File size:
1.3 KB
|
Line | |
---|
1 | from zope.interface import Interface |
---|
2 | |
---|
3 | class IPloneTabsControlPanel(Interface): |
---|
4 | """ Configlet for managing portal_actions, quintagroup.plonetabs """ |
---|
5 | |
---|
6 | def getPageTitle(category='portal_tabs'): |
---|
7 | """ Return Title for configlet page for given category """ |
---|
8 | |
---|
9 | def hasActions(category="portal_tabs"): |
---|
10 | """ Whether there are actions in portal_actions with given category """ |
---|
11 | |
---|
12 | def getPortalActions(category="portal_tabs"): |
---|
13 | """ Return portal actions with given category """ |
---|
14 | |
---|
15 | def isGeneratedTabs(): |
---|
16 | """ Whether disable_folder_section field is turned off """ |
---|
17 | |
---|
18 | def isNotFoldersGenerated(): |
---|
19 | """ Whether disable_nonfolderish_sections field is turned off """ |
---|
20 | |
---|
21 | def getActionsList(category="portal_tabs"): |
---|
22 | """ Return html code for actions list with given category """ |
---|
23 | |
---|
24 | def getGeneratedTabs(): |
---|
25 | """ Return html code for autogenerated tabs """ |
---|
26 | |
---|
27 | def getRootTabs(): |
---|
28 | """ Return portal root elements """ |
---|
29 | |
---|
30 | def getCategories(): |
---|
31 | """ Return list of categories contained in portal_actions tool """ |
---|
32 | |
---|
33 | def portal_tabs(): |
---|
34 | """ See global-sections viewlet """ |
---|
35 | |
---|
36 | def selected_portal_tab(): |
---|
37 | """ See global-sections viewlet """ |
---|
38 | |
---|
39 | def test(condition, ifTrue, ifFalse): |
---|
40 | """ Instead of test function in skins page templates """ |
---|
41 | |
---|
Note: See
TracBrowser
for help on using the repository browser.