[eluser]christian studer[/eluser]
[quote author="xwero" date="1234206162"]The parent constructor in the MY_model class constructor needs to be parent::Model(). The Model class has no __construct method.
The MY_ prefix classes extends the base class in a hidden way and are autoloaded. So your actual model classes have to extend the model class instead of the MY_ class.
If you make those changes everything should work.[/quote]
No, it doesn't. Now getValue() is known, but the method loadSimpleTable is no longer aviable from Hubconfig, since this class doesn't extend MY_Model anymore.
BTW: __construct exist, it's a magic method and automatically calls the function Model() in class Model. (This is PHP5-style.)