widgets\BaseListView $emptyText

$emptyText public property The HTML content to be displayed when $dataProvider does not have any data. public string $emptyText = null

widgets\BaseListView $dataProvider

$dataProvider public property The data provider for the view. This property is required. public yii\data\DataProviderInterface $dataProvider = null

widgets\BaseListView $emptyTextOptions

$emptyTextOptions public property The HTML attributes for the emptyText of the list view. The "tag" element specifies the tag name of the emptyText element and defaults to "div". See also yii\helpers\Html::renderTagAttributes() for details on how attributes are being rendered. public array $emptyTextOptions = ['class' => 'empty']

widgets\BaseListView $layout

$layout public property The layout that determines how different sections of the list view should be organized. The following tokens will be replaced with the corresponding section contents: {summary}: the summary section. See renderSummary(). {items}: the list items. See renderItems(). {sorter}: the sorter. See renderSorter(). {pager}: the pager. See renderPager(). public string $layout = "{summary}\n{items}\n{pager}"

widgets\ActiveFormAsset $depends

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

widgets\ActiveFormAsset $sourcePath

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

widgets\ActiveFormAsset $js

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

widgets\ActiveForm run()

run() public method Runs the widget. This registers the necessary JavaScript code and renders the form close tag. public void run ( )throws yii\base\InvalidCallException if beginField() and endField() calls are not matching.

widgets\ActiveForm init()

init() public method Initializes the widget. This renders the form open tag. public void init ( )

widgets\ActiveForm validate()

validate() public static method Validates one or several models and returns an error message array indexed by the attribute IDs. This is a helper method that simplifies the way of writing AJAX validation code. For example, you may use the following code in a controller action to respond to an AJAX validation request: $model = new Post; $model->load(Yii::$app->request->post()); if (Yii::$app->request->isAjax) { Yii::$app->response->format = Response::FORMAT_JSON;