This documentation is for a version that has reached its End Of Life. Such versions are no longer supported and don't receive security updates. Consider updating to a newer version.
TaxonomySubtree Criterion¶
The TaxonomySubtree Search Criterion searches for content assigned to the specified taxonomy entry or any of its descendants.
Arguments¶
taxonomyEntryId-intrepresenting the ID of the taxonomy entry that is the root of the subtree
Example¶
PHP¶
The following example searches for articles assigned to taxonomy entry with ID 42 or any of its child entries:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | |
The criteria limit the results to content matching all of the conditions listed below:
- content is assigned to taxonomy entry
42or any of its descendants - content type is
article