Documentation

Container extends AbstractElement

Container element HTML writer.

Tags
since
0.11.0

Table of Contents

$element  : AbstractElement
Element.
$escaper  : Escaper|AbstractEscaper
$namespace  : string
Namespace; Can't use __NAMESPACE__ in inherited class (RTF).
$parentWriter  : AbstractWriter
Parent writer.
$withoutP  : bool
Without paragraph.
__construct()  : mixed
Create new instance.
setWithoutP()  : void
Set without paragraph.
write()  : string
Write container.

Properties

$namespace

Namespace; Can't use __NAMESPACE__ in inherited class (RTF).

protected string $namespace = 'PhpOffice\PhpWord\Writer\HTML\Element'

Methods

setWithoutP()

Set without paragraph.

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

write()

Write container.

public write() : string
Return values
string

Search results