The power and use of partial() come from the second and third arguments. (...) the $model argument allows you to explicitly pass variables for use with the partial view. If you're not passing either argument,
use render() instead!
Basically, unless you are actually passing variables to the partial and need the clean variable scope, or rendering a view script from another MVC module, there is no reason to incur the overhead of partial();
instead, use Zend_View's built-in render() method to render the view script.
Partager