Wednesday, March 28, 2012

Extended class and debug="false"

Does anybody know why the initalizeBase() function fails to extend the current class with the base-class's methods when debug is set to false?

It seems that when in debug mode you are allowed to do this use the parent class' initializeBase function in the constructor. This causes an error with debug=false.

By using the subclass's own initalizeBase, this all works like a charm.

No comments:

Post a Comment