FOFView::setModel
Method to add a model to the view.
Signature
Parameters
-
$model
- The model to add to the view.
-
$default
- Is this the default model?
-
$name
- optional index name to store the model
Returns
- The added model.