/ LJCPHPCodeDoc / LJCTextBuilderLib / LJCTextBuilder / StartAttribs


Returns

The HTML element attributes.

Syntax

PHP
public function StartAttribs(): LJCAttributes

Creates the HTML element attributes.

Example

PHP
 // Root Method Begin
 $textState = new LJCTextState();
 
 $tb = new LJCTextBuilder($textState);
 
 // Example Method:
 $attribs = $tb->StartAttribs();
 
 $result = $tb->GetAttribs($attribs, $textState);
 
 // result:
 //  lang="en"

Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.