Documentation

Head extends AbstractPart
in package

RTF head part writer.

Tags
since
0.11.0

Table of Contents

Properties

$parentWriter  : HTML|null

Methods

getParentWriter()  : HTML
setParentWriter()  : void
write()  : string
Write part.
getFontFamily()  : string
Set font and alternates for css font-family.
writeStyles()  : string
Get styles.

Properties

Methods

setParentWriter()

public setParentWriter([HTML|null $writer = null ]) : void
Parameters
$writer : HTML|null = null

write()

Write part.

public write() : string
Return values
string

getFontFamily()

Set font and alternates for css font-family.

private getFontFamily(string $font, string $genericFont) : string
Parameters
$font : string
$genericFont : string
Return values
string

writeStyles()

Get styles.

private writeStyles() : string
Return values
string

        
On this page

Search results