netgen/ngclasslist
最新稳定版本:1.1
Composer 安装命令:
composer require netgen/ngclasslist
包简介
Netgen Class List Datatype is an eZ Publish extension that provides a datatype to select and store a list of content classes.
README 文档
README
Netgen Class List Datatype is an eZ Publish extension that provides a datatype to select and store a list of content classes.
Suppose you are developing a Category class that has attributes which parametrise how fetching of children works. You would add a class_filter_array attribute (which is of ngclasslist datatype provided by the extension) to your Category class and would use it in the following way in the code:
{def $children = fetch(
'content', 'list',
hash(
'parent_node_id', $node.data_map.parent_node_id.content,
'class_filter_type', $node.data_map.class_filter_type.content,
'class_filter_array', $node.data_map.class_filter_array.content.class_identifiers
)
)}
License and installation instructions
统计信息
- 总下载量: 27.23k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2014-04-07