public function __construct([array|null
$record = NULL,
[boolean
$isSingleton = false,
[array
$queryParams = ]]] )
Parameters
$record
—
object
Used internally for rehydrating an object from database content. Bypasses setters on this class, and hence should not be used for populating data on new records.
$isSingleton
—
boolean
This this to true if this is a singleton() object, a stub for calling methods. Singletons don't have their defaults set.
$queryParams
—
array
List of DataQuery params necessary to lazy load, or load related objects.