Table of Contents
-
$entries
: array<string|int, Entry>
-
$parents
: array<string|int, string>
-
__construct()
: mixed
-
findLinkMetaEntry()
: Entry|null
-
get()
: Entry|null
-
getAll()
: array<string|int, Entry>
-
set()
: void
-
setMetaEntries()
: void
-
doesLinkExist()
: bool
-
findByTitle()
: Entry|null
$entries
private
array<string|int, Entry>
$entries
$parents
private
array<string|int, string>
$parents
= []
__construct()
public
__construct([array<string|int, Entry> $entries = [] ]) : mixed
Parameters
-
$entries
: array<string|int, Entry>
= []
-
Return values
mixed
—
findLinkMetaEntry()
public
findLinkMetaEntry(string $link) : Entry|null
Parameters
-
$link
: string
-
Return values
Entry|null
—
get()
public
get(string $url) : Entry|null
Parameters
-
$url
: string
-
Return values
Entry|null
—
getAll()
public
getAll() : array<string|int, Entry>
Return values
array<string|int, Entry>
—
set()
public
set(string $file, string $url, string $title, array<string|int, array<string|int, string>> $titles, array<string|int, array<string|int, mixed>> $tocs, int $mtime, array<string|int, string> $depends, array<string|int, string> $links) : void
Parameters
-
$file
: string
-
-
$url
: string
-
-
$title
: string
-
-
$titles
: array<string|int, array<string|int, string>>
-
-
$tocs
: array<string|int, array<string|int, mixed>>
-
-
$mtime
: int
-
-
$depends
: array<string|int, string>
-
-
$links
: array<string|int, string>
-
Return values
void
—
public
setMetaEntries(array<string|int, Entry> $metaEntries) : void
Parameters
-
$metaEntries
: array<string|int, Entry>
-
Return values
void
—
doesLinkExist()
private
doesLinkExist(array<string|int, string> $links, string $link) : bool
Parameters
-
$links
: array<string|int, string>
-
-
$link
: string
-
Return values
bool
—
findByTitle()
private
findByTitle(string $text) : Entry|null
Parameters
-
$text
: string
-
Return values
Entry|null
—