TbHtml::b PHP 메소드

b() 공개 정적인 메소드

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

Usage Example

예제 #1
0
 public function testBold()
 {
     $I = $this->codeGuy;
     $html = TbHtml::b('Bold text');
     $strong = $I->createNode($html, 'strong');
     $I->seeNodeText($strong, 'Bold text');
 }
All Usage Examples Of TbHtml::b
TbHtml