| 1 | initial version |
You just need to add a parent() method to the appropriate object. Since I don't know how these objects are defined, I can't give you an example, but you should be able to work it out by searching the source code for where the parent() method is getting called, and adding such a method to the objects you're using. An easy way to do that would be to define a subclass, define the parent() method there, and then use instances of the subclass instead of the original class.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.