I'm building a CMP for managing extended User Group data.
I created my own tables/schema/model classes which I have access to.
Now I try to extend modUserGroup to link my tables to it, but no success. I simplified the schema with
<?xml version="1.0" encoding="UTF-8"?>
<model package="WPCalc" baseClass="xPDOObject" platform="mysql" defaultEngine="MyISAM" version="1.1">
<object class="extModUserGroup" extends="modUserGroup">
</object>....
just to achieve the extModUserGroup class extention. But I get no data, no error, just nothing. When I use modUserGroup directly everything works fine. I built the extmodusergroup model classes, but didn't touch metadata.mysql.php. Is this the reason? Is there a way to debug xPDO results?
regards manu
Edit: If I load the package in a snippet, a $modx->getCollection call fails with "Fatal error: Class 'modUserGroup' not found in core/components/WPCalc/model/WPCalc/extmodusergroup.class.php" Do I have to load the core model myself if I extend a certain class?
[ed. note: manu37 last edited this post 13 years, 7 months ago.]