*/
class BsSubFormFieldRenderer extends BsFieldRenderer
{
/**
* @inheritDoc
*/
public function Render()
{
$oOutput = new RenderingOutput();
// Showing subform if there are visible fields
if (!$this->oField->GetForm()->HasVisibleFields())
{
$oOutput->AddHtml('
');
}
if (($this->oField->GetLabel() !== null) && ($this->oField->GetLabel() !== ''))
{
$oOutput->AddHtml('');
}
if (!$this->oField->GetForm()->HasVisibleFields())
{
$oOutput->AddHtml('