TbHtml::helpBlock PHP Method

helpBlock() public static method

Generates a help block.
Deprecation:
public static helpBlock ( string $text, array $htmlOptions = [] ) : string
$text string the help text.
$htmlOptions array additional HTML attributes.
return string the generated block.
    public static function helpBlock($text, $htmlOptions = array())
    {
        // todo: remove this as it is no longer valid for bs3
        $htmlOptions['type'] = self::HELP_TYPE_BLOCK;
        return self::help($text, $htmlOptions);
    }

Usage Example

        

<p> <b>Questionnaire - Android</b></p>


<div class="well">
    
    	<?php 
$testes_selecionados = array();
?>
    
		<?php 
echo TbHtml::lead('Characteristics ');
?>
		<?php 
echo TbHtml::helpBlock('To improve the quality of testing in  your app, please answer the questions simply check the functionality required by your app.', array('class' => 'help-block'));
?>
		<br/>
		<p><?php 
echo TbHtml::b('Memory Use');
?>
</p>
			<?php 
echo TbHtml::checkBoxList('checkMemory', '', array('2.1' => CHtml::encode('Does your app write to files system?')));
?>
		<p><?php 
echo TbHtml::b('Connectivity');
?>
</p>
			<?php 
echo TbHtml::checkBoxList('checkConnectivity', '', array('3.1, 3.2, 3.3' => CHtml::encode('Does your app use connectivity with Internet?'), '3.4' => CHtml::encode('Does you app use downloadable resource files?')));
All Usage Examples Of TbHtml::helpBlock
TbHtml