Sets the model for the view. If the view already has a model set, it will remove it before setting the new model. If model is null, then it will unset the old model.
See also: get_model()