CbaModule
extends EbookModule
Table of Contents
Properties
-
$cbam
: CbamTemplate|null
-
$ebook
: Ebook
-
$type
: string|null
Methods
-
__toString()
: string
-
getCbam()
: CbamTemplate|null
-
getType()
: string|null
-
make()
: self
-
toArray()
: array<string|int, mixed>
-
toCounts()
: Ebook
-
toCover()
: EbookCover|null
-
toEbook()
: Ebook
-
toJson()
: string
-
__construct()
: mixed
-
arrayToHtml()
: string|null
-
arrayableToBookAuthor()
: array<string|int, mixed>
-
parseCbam()
: Ebook
$cbam
protected
CbamTemplate|null
$cbam
= null
$ebook
protected
Ebook
$ebook
$type
protected
string|null
$type
= null
__toString()
public
__toString() : string
getCbam()
public
getCbam() : CbamTemplate|null
getType()
public
getType() : string|null
Return values
string|null
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
arrayableToBookAuthor()
private
arrayableToBookAuthor(array<string|int, mixed> $core[, string|null $role = null ]) : array<string|int, mixed>
Parameters
-
$core
: array<string|int, mixed>
-
-
$role
: string|null
= null
-
Return values
array<string|int, mixed>
parseCbam()
private
parseCbam() : Ebook