Documentation

Image extends AbstractStyle
in package

Paragraph style HTML writer.

Tags
since
0.10.0

Table of Contents

Properties

$parentWriter  : HTML
Parent writer.
$style  : null|array<string|int, mixed>|AbstractStyle
Style.

Methods

__construct()  : mixed
Create new instance.
getParentWriter()  : HTML
Get parent writer.
getStyle()  : null|array<string|int, mixed>|string|AbstractStyle
Get style.
setParentWriter()  : void
Set parent writer.
write()  : string
Write style.
assembleCss()  : string
Takes array where of CSS properties / values and converts to CSS string.
getValueIf()  : string
Get value if .

Properties

Methods

setParentWriter()

Set parent writer.

public setParentWriter(HTML $writer) : void
Parameters
$writer : HTML

write()

Write style.

public write() : string
Return values
string

assembleCss()

Takes array where of CSS properties / values and converts to CSS string.

protected assembleCss(array<string|int, mixed> $css) : string
Parameters
$css : array<string|int, mixed>
Return values
string

getValueIf()

Get value if .

protected getValueIf(null|bool $condition, string $value) : string

..

Parameters
$condition : null|bool
$value : string
Return values
string

        
On this page

Search results