faq-bundle/src/Resources/contao/dca/tl_faq.php
public function listQuestions($arrRow)
	{
		$key = $arrRow['published'] ? 'published' : 'unpublished';
		$date = Contao\Date::parse(Contao\Config::get('datimFormat'), $arrRow['tstamp']);

		return '
<div class="cte_type ' . $key . '">' . $date . '</div>
<div class="limit_height' . (!Contao\Config::get('doNotCollapse') ? ' h40' : '') . '">
<h2>' . $arrRow['question'] . '</h2>
' . Contao\StringUtil::insertTagToSrc($arrRow['answer']) . '
</div>' . "\n";
	}
public function listQuestions($arrRow)
	{
		$key = $arrRow['published'] ? 'published' : 'unpublished';
		$date = Contao\Date::parse(Contao\Config::get('datimFormat'), $arrRow['tstamp']);

		return '
<div class="cte_type ' . $key . '">' . $date . '</div>
<div class="limit_height' . (!Contao\Config::get('doNotCollapse') ? ' h40' : '') . '">
<h2>' . $arrRow['question'] . '</h2>
' . Contao\StringUtil::insertTagToSrc($arrRow['answer']) . '
</div>' . "\n";
	}
public function listQuestions ( $ arrRow ) { $ key = $ arrRow [ 'published' ] ? 'published' : 'unpublished' ; $ date = Contao \ Date :: parse ( Contao \ Config :: get ( 'datimFormat' ) , $ arrRow [ 'tstamp' ] ) ; return '
<div class="cte_type ' . $ key . '">' . $ date . '</div>
<div class="limit_height' . ( ! Contao \ Config :: get ( 'doNotCollapse' ) ? ' h40' : '' ) . '">
<h2>' . $ arrRow [ 'question' ] . '</h2>
' . Contao \ StringUtil :: insertTagToSrc ( $ arrRow [ 'answer' ] ) . '
</div>' . "\n" ; }
Add the type of input field

@param array $arrRow

@return string
Add the type of input field