\Hazaar\Parser
TextileTag
Class to allow contruction of HTML tags on conversion of an object to a string
Example usage…
$img = new TextileTag(‘img’)->class(‘big blue’)->src(‘images/elephant.jpg’); echo $img;
Extends
\Hazaar\Parser\TextileBagSummary
Methods | Properties | Constants |
---|---|---|
No constants |
Properties
$selfclose
$selfclose
$tag
$tag
Methods
__construct()
__construct($name, $attribs = Array
(
)
, $selfclosing = true)
Parameters
$name | No description | |
$attribs | No description | |
$selfclosing | No description |
__tostring()
__tostring()