Jump to main content Jump to doc navigation

xPDOObject::loadCollectionGraph()

This function is responsible for loading a collection of object instances, as well as related object instances specified in a class "graph", from the tables represented by a specific set of related classes.

Syntax

API Docs: http://api.modxcms.com/xpdo/om/xPDOObject.html#loadCollectionGraph

function loadCollectionGraph(& $xpdo, $className, $graph, $criteria, $cacheFlag)