loadCollection
xPDOObject::loadCollection()
This function is responsible for loading a collection of object instances from rows in the database table represented by a specific class.
Syntax
API Docs: http://api.modxcms.com/xpdo/om/xPDOObject.html#loadCollection
static array loadCollection(
xPDO &$xpdo,
string $className,
[mixed $criteria = null],
[boolean|integer $cacheFlag = true]
)