Properties

$file

$file : string

Type

string

$url

$url : string

Type

string

$title

$title : string

Type

string

$tocs

$tocs : array[]

Type

array[]

$mtime

$mtime : int

Type

int

$depends

$depends : string[]

Type

string[]

$resolvedDependencies

$resolvedDependencies : string[]

Type

string[]

$links

$links : string[]

Type

string[]

Methods

__construct()

__construct(string  $file, string  $url, string  $title, string[][]|string[][][]  $titles, array[]  $tocs, string[]  $depends, string[]  $links, int  $mtime) : mixed

Parameters

string $file
string $url
string $title
string[][]|string[][][] $titles
array[] $tocs
string[] $depends
string[] $links
int $mtime

Returns

mixed —

getFile()

getFile() : string

Returns

string —

getUrl()

getUrl() : string

Returns

string —

getTitle()

getTitle() : string

Returns

string —

getTitles()

getTitles() : string[][]|string[][][]

Returns

string[][]|string[][][] —

hasTitle()

hasTitle(string  $text) : bool

Parameters

string $text

Returns

bool —

getTocs()

getTocs() : array[]

Returns

array[] —

getDepends()

getDepends() : string[]

Returns

string[] —

resolveDependency()

resolveDependency(string  $originalDependency, ?string  $newDependency) : void

Call to replace a dependency with the resolved, real filename.

Parameters

string $originalDependency
?string $newDependency

removeDependency()

removeDependency(string  $dependency) : void

Parameters

string $dependency

getLinks()

getLinks() : string[]

Returns

string[] —

getMtime()

getMtime() : int

Returns

int —

setParent()

setParent(string  $parent) : void

Parameters

string $parent

getParent()

getParent() : ?string

Returns

?string —

getAllTitles()

getAllTitles(string[]|string[][]|null  $entryTitles = null) : string[]

Parameters

string[]|string[][]|null $entryTitles

Returns

string[] —