Archetypes的内容类型声明性配置。
项目描述
简介
此软件包添加了用于注册Archetypes内容类的声明性接口。
用法
使用at:register指令注册您的每个内容类。
示例配置
<configure xmlns="http://namespaces.zope.org/zope" xmlns:five="http://namespaces.zope.org/five" xmlns:at="http://namespaces.plone.org/archetypes"> <five:registerPackage package="." /> <permission id="example.Add" title="collective.example: Add example" /> <at:register class=".content.Example" permission="example.Add" /> </configure>
您不需要(也不应该)在内容类上调用atapi.registerType。这由框架自动完成。
致谢
Malthe Borch <mborch@gmail.com>
更改
0.2 - 2011-09-14
与Zope 2.13的兼容性。
0.1 - 2010-12-01
首次发布
关闭
archetypes.configure-0.2.tar.gz的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 0557ded3c3f0fb6a9739bd35ebadda66a76f91cf3b14e733df4bf14bd96a1a2c |
|
MD5 | 559b3fe722686e1b20764ad2a58f29c5 |
|
BLAKE2b-256 | 858db7d84abce1be47b5d4d6c5f46cf274db6e812648cc2e30a8836a523dcc31 |