Documentation

ListItem extends Text

ListItem element RTF writer; extends from text.

Tags
since
0.11.0

Table of Contents

$element  : AbstractElement
Element.
$escaper  : Escaper|AbstractEscaper
$fontStyle  : Font
Font style.
$paragraphStyle  : Paragraph
Paragraph style.
$parentWriter  : AbstractWriter
Parent writer.
$withoutP  : bool
Without paragraph.
__construct()  : mixed
Create new instance.
setWithoutP()  : void
Set without paragraph.
write()  : mixed
Write element.
getStyles()  : void
Get font and paragraph styles.
writeClosing()  : string
Write closing.
writeFontStyle()  : string
Write font style.
writeOpening()  : string
Write opening.
writeText()  : string
Write text.

Properties

Methods

setWithoutP()

Set without paragraph.

public setWithoutP(bool $value) : void
Parameters
$value : bool
Return values
void

write()

Write element.

public abstract write() : mixed
Return values
mixed

getStyles()

Get font and paragraph styles.

protected getStyles() : void
Return values
void

writeClosing()

Write closing.

protected writeClosing() : string
Return values
string

writeFontStyle()

Write font style.

protected writeFontStyle() : string
Return values
string

writeOpening()

Write opening.

protected writeOpening() : string
Return values
string

writeText()

Write text.

protected writeText(string $text) : string
Parameters
$text : string
Return values
string

Search results