Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
HX
PHP Class HX, atk4
$this->add('H1')->set('Welcome') ->sub('we really mean it!'); Syntactically, subtitle appears inside the
element:
Hello
world
Inheritance:
extends
HtmlElement
Show file
Open project: atk4/atk4
Class Usage Examples
Public Properties
Property
Type
Description
$sub
Subtitle text
$text
Heading text
Public Methods
Method
Description
recursiveRender
( )
set
(
$text
)
{{{ Inherited Methods
sub
(
string
$text
)
Adds subtitle to your header.
Method Details
recursiveRender()
public
method
public
recursiveRender
( )
set()
public
method
{{{ Inherited Methods
public
set
(
$text
)
sub()
public
method
Adds subtitle to your header.
public
sub
(
string
$text
)
$text
string
Subheader text
Property Details
$sub
public property
Subtitle text
public
$sub
$text
public property
Heading text
public
$text