TbHtml::small PHP Method

small() public static method

Generates small text.
public static small ( string $text, array $htmlOptions = [] ) : string
$text string the text to style.
$htmlOptions array additional HTML attributes.
return string the generated text.
    public static function small($text, $htmlOptions = array())
    {
        return self::tag('small', $htmlOptions, $text);
    }

Usage Example

Example #1
0
 public function testSmall()
 {
     $I = $this->codeGuy;
     $html = TbHtml::small('Small text');
     $small = $I->createNode($html, 'small');
     $I->seeNodeText($small, 'Small text');
 }
All Usage Examples Of TbHtml::small
TbHtml