afterRender()
controller method invokes after render()
, but not afterrenderPartial()
.
Is there a solution?
After calling renderPartial, save return result and call afterRender this way:
$view = 'myView'; // etc
$output = $this->renderPartial($view, array(...));
$this->afterRender($view, $output);