Class ParentViewChildRecordEvent.

This event gets emitted when a child record gets rendered in the parent view.

 Methods

Retrieve the stored html code for the child record.

getHtml() : string

Returns

string

Set the html code to use as child record.

setHtml(string $html) : \ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\ParentViewChildRecordEvent
fluent This method is part of a fluent interface and will return the same instance

Parameters

$html

string

The html code.

Returns

\ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\ParentViewChildRecordEvent

 Properties

 

The html code to use for the model.

$html : string

 Constants

 

NAME

NAME