Creating a new object instance
$person= $xpdo->newObject('Person');
This creates a new instance of a class titled Person that you can now work with via the rest of the xPDOObject's base methods. First, let's set some necessary values on the object...