Documentation

EpubChapter

FinalYes

One table-of-contents entry resolved to its content document.

Replaces the EpubChapter model previously supplied by kiwilan/php-ebook.

Tags
since
3.4.0

Table of Contents

Properties

$content  : string
$filename  : string
$label  : string

Methods

__construct()  : mixed
getContent()  : string
Body markup of the backing content document.
getFilename()  : string
Entry path of the backing content document.
getLabel()  : string
Human-readable chapter title as it appeared in the table of contents.

Properties

Methods

__construct()

public __construct(string $label, string $filename, string $content) : mixed
Parameters
$label : string

Human-readable chapter title from the TOC

$filename : string

Entry path of the backing content document

$content : string

Body markup of the backing content document

getContent()

Body markup of the backing content document.

public getContent() : string
Return values
string

getFilename()

Entry path of the backing content document.

public getFilename() : string
Return values
string

getLabel()

Human-readable chapter title as it appeared in the table of contents.

public getLabel() : string
Return values
string
On this page

Search results