PHP Class Redaxscript\Html\HtmlAbstract

Since: 2.6.0
Author: Henry Ruhs
Show file Open project: redaxmedia/redaxscript

Protected Properties

Property Type Description
$_html string html of the element

Public Methods

Method Description
append ( string $html = null ) : Element append to the html
clear ( ) : Element clear the html
html ( string $html = null ) : Element set the html
prepend ( string $html = null ) : Element prepend to the html

Method Details

append() public method

append to the html
Since: 2.6.0
public append ( string $html = null ) : Element
$html string html to append
return Element

clear() public method

clear the html
Since: 3.0.0
public clear ( ) : Element
return Element

html() public method

set the html
Since: 2.6.0
public html ( string $html = null ) : Element
$html string html to set
return Element

prepend() public method

prepend to the html
Since: 2.6.0
public prepend ( string $html = null ) : Element
$html string html to prepend
return Element

Property Details

$_html protected property

html of the element
protected string $_html
return string