widgets\ActiveField $attribute

$attribute public property The model attribute that this field is associated with. public string $attribute = null

Widgets

Using Widgets Creating Widgets Best Practices Widgets are reusable building blocks used in views to create complex and configurable user interface elements in an object-oriented fashion. For example, a date picker widget may generate a fancy date picker that allows users to pick a date as their input. All you need to do is just to insert the code in a view like the following: <?php use yii\jui\DatePicker; ?> <?= DatePicker::widget(['name' => 'date']) ?> There are a good number

web\YiiAsset $sourcePath

$sourcePath public property public $sourcePath = '@yii/assets'

web\YiiAsset $js

$js public property public $js = ['yii.js']

web\YiiAsset $depends

$depends public property public $depends = ['yii\web\JqueryAsset']

web\XmlResponseFormatter format()

format() public method Formats the specified response. public void format ( $response )$response yii\web\Response The response to be formatted.

web\XmlResponseFormatter buildXml()

buildXml() protected method protected void buildXml ( $element, $data )$element DOMElement $data mixed

web\XmlResponseFormatter $version

$version public property The XML version public string $version = '1.0'

web\XmlResponseFormatter $useTraversableAsArray

$useTraversableAsArray public property (available since version 2.0.7) Whether to interpret objects implementing the Traversable interface as arrays. Defaults to true. public boolean $useTraversableAsArray = true

web\XmlResponseFormatter $rootTag

$rootTag public property The name of the root element. public string $rootTag = 'response'