PHP Класс yii\widgets\Block

С версии: 2.0
Автор: Qiang Xue ([email protected])
Наследование: extends yii\base\Widget
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$renderInPlace whether to render the block content in place. Defaults to false, meaning the captured block content will not be displayed.

Открытые методы

Метод Описание
init ( ) Starts recording a block.
run ( ) Ends recording a block.

Описание методов

init() публичный Метод

Starts recording a block.
public init ( )

run() публичный Метод

This method stops output buffering and saves the rendering result as a named block in the view.
public run ( )

Описание свойств

$renderInPlace публичное свойство

whether to render the block content in place. Defaults to false, meaning the captured block content will not be displayed.
public $renderInPlace