The person above wrote about pdoResources, and this is not getResources, but its analogue (it seems even better than getResources). It is about getResources that is written in detail here, for example, - modx.ws/blog/uroki-modx-revolution/urok-vyivod-kon...