I read somewhere that one should not pass plain model objects to view, but only read-only objects. So, currently I have something like this in my controller:
$user = new User(); // Model class
$user->loadUserById($id);
$this->setData('user', $user); //obviously $this refers to the controller object
$this->displayView();
And then, I render the fields I want in my template. Is there something wrong to this approach or it is totally acceptable to pass model objects to view?