FOFController::createView
Creates a View object instance and returns it
Signature
protected function createView(string
$name,
[string
$prefix = '',
[string
$type = '',
array
$config]] )
Parameters
-
$name
- The name of the view, e.g. Items
-
$prefix
- The prefix of the view, e.g. FoobarView
-
$type
- The type of the view, usually one of Html, Raw, Json or Csv
-
$config
- The configuration variables to use for creating the view
Returns
- FOFView