beginBlock() public method
Begins recording a block.
This method is a shortcut to beginning yii\widgets\Block
| public yii\widgets\Block beginBlock ( $id, $renderInPlace = false ) | ||
|---|---|---|
| $id | string |
The block ID. |
| $renderInPlace | boolean |
Whether to render the block content in place. Defaults to false, meaning the captured block will not be displayed. |
| return | yii\widgets\Block |
The Block widget instance |
Please login to continue.