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
down.png 363B
up.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币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 用 Python 生成功能强大的二维码工具(支持自定义颜色与 Logo)
- 1200与台达变频器modbus rtu 485 通讯程序.zip
- 2-命令行下播放音乐bofang
- 16.神威药业自控程序一套.rar
- 1200开放式通讯.zip
- s71500+modbus-rtu通讯说明和例程,.zip
- 西门子1200与ABB机器人TCP 通信案例.zip
- 基于OpenCV的OCR
- Androidstudio4.2.2版本
- utlog.sqlite
- Androidstudio4.1.2
- excel导入进度条设计方案
- 帮助文档能够很好的支撑前端技术学习
- 基于WebRTC与WoT的智能医疗架构设计与应用
- 2025跨年源码 跨年烟花html源代码
- 基于js+html+css实现简单的中国农历新年倒计时代码分享给需要的同学
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功