widgets\BaseListView renderItems()

renderItems() public abstract method Renders the data models. public abstract string renderItems ( )return string The rendering result.

widgets\BaseListView renderSection()

renderSection() public method Renders a section of the specified name. If the named section is not supported, false will be returned. public string|boolean renderSection ( $name )$name string The section name, e.g., {summary}, {items}. return string|boolean The rendering result of the section, or false if the named section is not supported.

widgets\BaseListView $summary

$summary public property The HTML content to be displayed as the summary of the list view. If you do not want to show the summary, you may set it with an empty string. The following tokens will be replaced with the corresponding values: {begin}: the starting row number (1-based) currently being displayed {end}: the ending row number (1-based) currently being displayed {count}: the number of rows currently being displayed {totalCount}: the total number of rows available {page}: the page

widgets\BaseListView renderEmpty()

renderEmpty() public method Renders the HTML content indicating that the list view has no data. See also $emptyText. public string renderEmpty ( )return string The rendering result

widgets\BaseListView $summaryOptions

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

widgets\BaseListView init()

init() public method Initializes the view. public void init ( )

widgets\BaseListView $sorter

$sorter public property The configuration for the sorter widget. By default, yii\widgets\LinkSorter will be used to render the sorter. You can use a different widget class by configuring the "class" element. Note that the widget must support the sort property which will be populated with the sort value of the $dataProvider. public array $sorter = []

widgets\BaseListView $showOnEmpty

$showOnEmpty public property Whether to show the list view if $dataProvider returns no data. public boolean $showOnEmpty = false

widgets\BaseListView $pager

$pager public property The configuration for the pager widget. By default, yii\widgets\LinkPager will be used to render the pager. You can use a different widget class by configuring the "class" element. Note that the widget must support the pagination property which will be populated with the pagination value of the $dataProvider. public array $pager = []

widgets\BaseListView $options

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