PHP Class HX, atk4

$this->add('H1')->set('Welcome') ->sub('we really mean it!'); Syntactically, subtitle appears inside the

element:

Helloworld

Inheritance: extends HtmlElement
ファイルを表示 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_oe property

Subtitle text
public $sub

$text public_oe property

Heading text
public $text