jelix/jelix — pull request #93 by gdugas (2012-10-15 12:43:19+00:00)
Title: jDaoRecordBase extend functionnality

This ticket permit to overload the jDaoRecordBase object with a class defined in the module classes folder.

In your dao xml file, you must define an "overload" attribute with the class selector:
<record overload="mymodule~myClass">

In your module class file, you must inherit your custom class with the jDaoRecordBase object:
abstract class myClass extends jDaoRecordBase {
function myMethod() {
// ...
}
}