base\View beginBlock()

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

doc_Yii
2016-10-30 16:52:31
Comments
Leave a Comment

Please login to continue.