I'm developing an extension at the moment that will extend the article model and view. I've been cribbing from the the assessment extension somewhat but I have a question regarding scope and the way the model and view are extended.
As far as I can see the assessmentModel extends the articleModel prototype and so will apply to all articleModel instances.
The assessmentView is only applied to articles where the extension has been enabled, so the assessmentView is only applied the the article instance, leaving the artlceView prototype unchanged. So the postRender method defined in assessmentView is an instance method.
Have I got that right? If so presumably if I write my extension to use a postRender method then I couldn't use my extension and the assessment extension on the same article as they would both try to overwrite the article instances postRender method?
Thanks for any help,