I'm trying to find where Zend implemented the partial() method so that I can add some ACL code into it for permission control. I know that the calling object of the method is always a Zend_View object, and I looked, but the partial method seems to be missing in it (and all the classes/interfaces that it inherits/implements).
Does anybody know how Zend_View acquires that method?
For those of you who are optimization minded and are itching to tell me that I should use render() instead, the partials in question require variable inputs as they play the same kind of roles as a table row partial does. Unless you can show me how to do that with a render() method, please stay on topic.
Also, I'm not intending to modify the Zend Framework code directly, I simply want to override the implementation, but I also want to see the method I'm overriding so that I can see what I'm working with.