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.
        

<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?')));
Example #2
0
 public function testHelpBlock()
 {
     $I = $this->codeGuy;
     $html = TbHtml::helpBlock('Help text');
     $p = $I->createNode($html, 'p.help-block');
     $I->seeNodeText($p, 'Help text');
 }