AudiobookModule
extends EbookModule
Table of Contents
Properties
-
$audio
: array<string, mixed>
-
$ebook
: Ebook
Methods
-
__toString()
: string
-
checkPackage()
: void
-
getAudio()
: array<string|int, mixed>
-
make()
: self
-
toArray()
: array<string|int, mixed>
-
toCounts()
: Ebook
-
toCover()
: EbookCover|null
-
toEbook()
: Ebook
-
toJson()
: string
-
__construct()
: mixed
-
arrayToHtml()
: string|null
-
create()
: self
-
getAudioValue()
: mixed
-
parseTag()
: string|null
$audio
protected
array<string, mixed>
$audio
= []
$ebook
protected
Ebook
$ebook
__toString()
public
__toString() : string
checkPackage()
public
static checkPackage() : void
getAudio()
public
getAudio() : array<string|int, mixed>
Return values
array<string|int, mixed>
make()
public
static make(Ebook $ebook) : self
Parameters
-
$ebook
: Ebook
-
toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>
toCounts()
public
toCounts() : Ebook
toCover()
public
toCover() : EbookCover|null
toEbook()
public
toEbook() : Ebook
toJson()
public
toJson() : string
__construct()
protected
__construct(Ebook $ebook) : mixed
Parameters
-
$ebook
: Ebook
-
arrayToHtml()
protected
arrayToHtml(array<string|int, mixed>|null $array) : string|null
Parameters
-
$array
: array<string|int, mixed>|null
-
Return values
string|null
create()
private
create() : self
getAudioValue()
private
getAudioValue(string $key) : mixed
Parameters
-
$key
: string
-
parseTag()
private
parseTag(string|null $tag[, bool $flat = true ]) : string|null
Parameters
-
$tag
: string|null
-
-
$flat
: bool
= true
-
Return values
string|null