netgen/ngclasslist

This package is abandoned and no longer maintained. No replacement package was suggested.

Netgen Class List Datatype is an eZ Publish extension that provides a datatype to select and store a list of content classes.

Package info

github.com/netgen/ngclasslist

Type:ezpublish-legacy-extension

pkg:composer/netgen/ngclasslist

Statistics

Installs: 27 841

Dependents: 2

Suggesters: 0

Stars: 2

Open Issues: 0

1.1 2017-12-21 13:21 UTC

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

GPL-2.0 6c13903221e65934140d9f5df23ee8b03bd349ba

  • Netgen <info.woop@netgen.hr>

This package is auto-updated.

Last update: 2020-09-24 12:12:03 UTC


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

License

Installation instructions