web\XmlResponseFormatter $itemTag

$itemTag public property The name of the elements that represent the array elements with numeric keys. public string $itemTag = 'item'

web\XmlResponseFormatter $encoding

$encoding public property The XML encoding. If not set, it will use the value of yii\web\Response::$charset. public string $encoding = null

web\XmlResponseFormatter $contentType

$contentType public property The Content-Type header for the response public string $contentType = 'application/xml'

web\ViewAction run()

run() public method Runs the action. This method displays the view requested by the user. public void run ( )throws yii\web\NotFoundHttpException if the view file cannot be found

web\ViewAction resolveViewName()

resolveViewName() protected method Resolves the view name currently being requested. protected string resolveViewName ( )return string The resolved view name throws yii\web\NotFoundHttpException if the specified view name is invalid

web\ViewAction render()

render() protected method Renders a view protected string render ( $viewName )$viewName string View name return string Result of the rendering

web\ViewAction $viewPrefix

$viewPrefix public property A string to be prefixed to the user-specified view name to form a complete view name. For example, if a user requests for tutorial/chap1, the corresponding view name will be pages/tutorial/chap1, assuming the prefix is pages. The actual view file is determined by yii\base\View::findViewFile(). See also yii\base\View::findViewFile(). public string $viewPrefix = 'pages'

web\ViewAction $viewParam

$viewParam public property The name of the GET parameter that contains the requested view name. public string $viewParam = 'view'

web\ViewAction $layout

$layout public property The name of the layout to be applied to the requested view. This will be assigned to yii\base\Controller::$layout before the view is rendered. Defaults to null, meaning the controller's layout will be used. If false, no layout will be applied. public mixed $layout = null

web\ViewAction $defaultView

$defaultView public property The name of the default view when yii\web\ViewAction::$viewParam GET parameter is not provided by user. Defaults to 'index'. This should be in the format of 'path/to/view', similar to that given in the GET parameter. See also yii\web\ViewAction::$viewPrefix. public string $defaultView = 'index'