Jump to main content Jump to doc navigation

xPDOObject::_loadInstance()

This function is responsible for turning a result set row into an xPDOObject instance of the proper class.

Syntax

API Doc: http://api.modx.com/xpdo/om/xPDOObject.html#_loadInstance

static xPDOObject _loadInstance(
   xPDO &$xpdo,
   string $className,
   mixed $criteria,
   array $row
)