Documentation

DocumentDescriptor
in package
implements Descriptor

Interfaces, Classes and Traits

Descriptor
Base class for descriptors containing the most used options.

Table of Contents

$depends  : array<string|int, string>
$documentNode  : DocumentNode
$file  : string
$hash  : string
$links  : array<string|int, string>
$title  : string
$titles  : array<string|int, array<string|int, string>>
$tocs  : array<string|int, TocNode>
__construct()  : mixed
getDepends()  : array<string|int, string>
getDescription()  : DescriptionDescriptor|null
Returns the description for this element.
getDocumentNode()  : DocumentNode
getFile()  : string
getHash()  : string
getLinks()  : array<string|int, string>
getName()  : string
Returns the local name for this element.
getTitle()  : string
getTitles()  : array<string|int, array<string|int, string>>
getTocs()  : array<string|int, TocNode>

Properties

Methods

__construct()

public __construct(DocumentNode $documentNode, string $hash, string $file, string $title, array<string|int, array<string|int, string>> $titles, array<string|int, TocNode$tocs, array<string|int, string> $depends, array<string|int, string> $links) : mixed
Parameters
$documentNode : DocumentNode
$hash : string
$file : string
$title : string
$titles : array<string|int, array<string|int, string>>
$tocs : array<string|int, TocNode>
$depends : array<string|int, string>
$links : array<string|int, string>
Return values
mixed

getDepends()

public getDepends() : array<string|int, string>
Return values
array<string|int, string>
public getLinks() : array<string|int, string>
Return values
array<string|int, string>

getName()

Returns the local name for this element.

public getName() : string
Return values
string

getTitles()

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

Search results