EpubChapter
in package
FinalYes
One table-of-contents entry resolved to its content document.
Replaces the EpubChapter model previously supplied by kiwilan/php-ebook.
Tags
Table of Contents
Properties
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
$content
private
string
$content
$filename
private
string
$filename
$label
private
string
$label
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
stringgetFilename()
Entry path of the backing content document.
public
getFilename() : string
Return values
stringgetLabel()
Human-readable chapter title as it appeared in the table of contents.
public
getLabel() : string