Documentation

NcxItem
in package

Transform `.ncx` file to an object.

Table of Contents

Properties

$docTitle  : string|null
$head  : array<string|int, NcxItemHead>|null
$lang  : string|null
$navPoints  : array<string|int, NcxItemNavPoint>|null
$version  : string|null
$xml  : XmlReader

Methods

__toString()  : string
getDocTitle()  : string|null
getHead()  : array<string|int, NcxItemHead>|null
getLang()  : string|null
getNavPoints()  : array<string|int, NcxItemNavPoint>|null
getVersion()  : string|null
make()  : self
toArray()  : array<string|int, mixed>
toJson()  : string
__construct()  : mixed
setHead()  : array<string|int, NcxItemHead>|null
setNavPoints()  : array<string|int, mixed>|null

Properties

$docTitle

protected string|null $docTitle = null

$lang

protected string|null $lang = null

$version

protected string|null $version = null

Methods

__toString()

public __toString() : string
Return values
string

getDocTitle()

public getDocTitle() : string|null
Return values
string|null

getLang()

public getLang() : string|null
Return values
string|null

getVersion()

public getVersion() : string|null
Return values
string|null

make()

public static make(string $content) : self
Parameters
$content : string
Return values
self

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

toJson()

public toJson() : string
Return values
string

setNavPoints()

private setNavPoints() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null

        
On this page

Search results