Warning: You are browsing the documentation from version 4 to 10 of Pimcore.
Please visit https://pimcore.com/docs/platform/ for the latest versions of Pimcore.
Version:
ElementCounter
Counts all child elements.
- Count Empty (see example below): Let us assume that
myhref
is empty andtheobjects
contains three elements. WithCount Empty
set to true the result would be 4 because the emptymyhref
is relevant for the result, otherwise it would be 3.