EEA faceted vocabularies
========================
Vocabularies defined to be used within eea faceted packages
>>> from zope.schema.interfaces import IVocabularyFactory
>>> from zope.component import getUtility
eea.faceted.vocabularies.ObjectProvides
---------------------------------------
Vocabulary from catalog index object_provides uniqueValues.
>>> voc = getUtility(IVocabularyFactory, 'eea.faceted.vocabularies.ObjectProvides')
>>> voc
<eea.faceted.vocabularies.catalog.ObjectProvidesVocabulary object at ...>
eea.faceted.vocabularies.PortalTypes
------------------------------------
Same as plone.app.vocabularies.PortalTypes
>>> voc = getUtility(IVocabularyFactory, 'eea.faceted.vocabularies.PortalTypes')
>>> voc
<eea.faceted.vocabularies.types.PortalTypesVocabulary object at ...>
eea.faceted.vocabularies.FacetedPortalTypes
-------------------------------------------
This vocabulary adds to plone.app.vocabularies.UserFriendlyTypes custom portal
types mapping added within portal_faceted tool.
>>> voc = getUtility(IVocabularyFactory, 'eea.faceted.vocabularies.FacetedPortalTypes')
>>> voc
<eea.faceted.vocabularies.faceted.FacetedPortalTypesVocabulary object at ...>
eea.faceted.vocabularies.WidgetPositions
----------------------------------------
Faceted widgets possible positions
>>> voc = getUtility(IVocabularyFactory, 'eea.faceted.vocabularies.WidgetPositions')
>>> voc
<eea.faceted.vocabularies.position.WidgetPositions object at ...>
>>> [term.value for term in voc()]
['top', 'left', 'center', 'right', 'bottomcenter', 'bottom']
eea.faceted.vocabularies.WidgetSections
---------------------------------------
Faceted widgets possible sections
>>> voc = getUtility(IVocabularyFactory, 'eea.faceted.vocabularies.WidgetSections')
>>> voc
<eea.faceted.vocabularies.section.WidgetSections object at ...>
>>> [term.value for term in voc()]
['default', 'advanced']
eea.faceted.vocabularies.SortingCatalog
---------------------------------------
Catalog indexes including sorting ones
>>> voc = getUtility(IVocabularyFactory, 'eea.faceted.vocabularies.SortingCatalogIndexes')
>>> voc
<eea.faceted.vocabularies.catalog.SortingCatalogIndexesVocabulary object at ...>
eea.faceted.vocabularies.AutocompleteVocabularies
---------------------------------------
Possible autocomplete suggestions views
>>> voc = getUtility(IVocabularyFactory, 'eea.faceted.vocabularies.AutocompleteViews')
>>> voc
<eea.faceted.vocabularies.autocomplete.AutocompleteVocabulary object at ...>
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
资源分类:Python库 所属语言:Python 资源全名:eea.faceted.vocabularies-6.2.zip 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
资源推荐
资源详情
资源评论
收起资源包目录
Python库 | eea.faceted.vocabularies-6.2.zip (122个子文件)
.buildinfo 166B
versions.cfg 134B
buildout.cfg 91B
setup.cfg 63B
basic.css 8KB
pygments.css 4KB
theme.css 246B
logo.gif 12KB
ajax-loader.gif 673B
LICENSE.GPL 12KB
index.html 7KB
genindex.html 3KB
MANIFEST.in 98B
objects.inv 199B
jquery.js 91KB
websupport.js 25KB
searchtools.js 17KB
underscore.js 12KB
doctools.js 7KB
jquery.jfeed.js 5KB
CONTRIBUTING.md 3KB
eea.mo 1KB
eea.mo 1KB
eea.mo 1KB
eea.mo 1KB
eea.mo 1KB
eea.mo 1KB
eea.mo 1009B
eea.mo 968B
eea.mo 956B
eea.mo 951B
eea.mo 951B
eea.mo 950B
eea.mo 941B
eea.mo 939B
eea.mo 934B
eea.mo 931B
eea.mo 925B
eea.mo 924B
eea.mo 923B
eea.mo 922B
eea.mo 919B
eea.mo 915B
eea.mo 913B
eea.mo 910B
eea.mo 884B
eea.mo 458B
eea.mo 458B
eea.mo 458B
not-zip-safe 1B
PKG-INFO 8KB
PKG-INFO 8KB
comment-close.png 3KB
comment-bright.png 3KB
comment.png 3KB
file.png 392B
up-pressed.png 372B
down-pressed.png 368B
up.png 363B
down.png 363B
minus.png 199B
plus.png 199B
eea.po 2KB
eea.po 2KB
eea.po 2KB
eea.po 2KB
eea.po 2KB
eea.po 2KB
eea.po 2KB
eea.po 1KB
eea.po 1KB
eea.po 1KB
eea.po 1KB
eea.po 1KB
eea.po 1KB
eea.po 1KB
eea.po 1KB
eea.po 1KB
eea.po 1KB
eea.po 1KB
eea.po 1KB
eea.po 1KB
eea.po 1KB
eea.po 1KB
eea.po 1KB
eea.po 1KB
eea.po 1KB
eea.po 1KB
eea.po 1KB
eea.po 1KB
eea.pot 1KB
catalog.py 6KB
portal.py 2KB
faceted.py 2KB
setup.py 2KB
autocomplete.py 1KB
simple.py 1KB
types.py 916B
tests.py 890B
position.py 870B
共 122 条
- 1
- 2
资源评论
挣扎的蓝藻
- 粉丝: 14w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- (源码)基于设计模式的软件系统架构.zip
- (源码)基于SSM框架的新闻管理系统.zip
- (源码)基于Spring Boot和MyBatis的社区问答系统.zip
- EXP5-计算机网络资源
- 小象智慧门店-连锁门店收银POS+门店小程序商城-安卓开发资源
- 计算机网络-计算机网络资源
- Listen and analyze network traffic-计算机网络资源
- socketInet-计算机网络资源
- php-ext-xlswriter-c++
- bzGhost-Uniapp-uniapp
- cnocr-python安装
- azurelanekeyan-模拟退火算法
- Hippy-安卓开发资源
- DslTabLayout-android
- leyou-jdk1.8安装包
- admin_plus-visualstudio安装教程
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功