Change the Way xPDO Loads Data
You can provide any of the following static methods in your custom xPDOObject derivative classes to override their behavior, including in driver-specific classes:
This is done with the help of the [xPDO::call()] method.
Overriding these methods allows you to implement additional behavior or completely change the behavior of loading your table objects via the object and collection methods provided by xPDO and xPDOObject. For instance, it can be used to perform security checks or to add i18n processing before allowing a row to be loaded.
$xpdo = new xPDO($dsn, $username, $password, array( xPDO::OPT_LOADER_CLASSES => array('myCustomLoaderClass') ));