TextBreak
extends AbstractElement
in package
TextBreak element HTML writer.
Tags
Table of Contents
Properties
- $element : AbstractElement
- Element.
- $parentWriter : HTML
- Parent writer.
- $withoutP : bool
- Without paragraph.
Methods
- __construct() : mixed
- Create new instance.
- setWithoutP() : void
- Set without paragraph.
- write() : string
- Write text break.
Properties
$element
Element.
protected
AbstractElement
$element
$parentWriter
Parent writer.
protected
HTML
$parentWriter
$withoutP
Without paragraph.
protected
bool
$withoutP
= false
Methods
__construct()
Create new instance.
public
__construct(HTML $parentWriter, AbstractElement $element[, bool $withoutP = false ]) : mixed
Parameters
- $parentWriter : HTML
- $element : AbstractElement
- $withoutP : bool = false
setWithoutP()
Set without paragraph.
public
setWithoutP(bool $value) : void
Parameters
- $value : bool
write()
Write text break.
public
write() : string