\phpDocumentor\Plugin\Scrybe\Converter\Metadata\TableOfContentsFile

The Table of Contents File describes a file and the headings it contains.

A File may also contain other files, those will serve as containers for more headings or other files. This way it is possible to 'include' another File as part of a hierarchy and have a integrated table of contents.

Summary

Methods
Properties
Constants
__construct()
getParent()
setParent()
getChildren()
addChild()
getName()
setName()
setFilename()
getFilename()
getHash()
No public properties found
No constants found
No protected methods found
$parent
$children
$name
$hash
$filename
N/A
No private methods found
No private properties found
N/A

Properties

$parent

$parent : \phpDocumentor\Plugin\Scrybe\Converter\Metadata\TableOfContents\BaseEntry|null

The parent BaseEntry in the containing module.

This property may also contain a null value if this is the top entry in this module. Please note that files are also considered entries.

Please note that a null value is usually reserved to the index file.

Type

\phpDocumentor\Plugin\Scrybe\Converter\Metadata\TableOfContents\BaseEntry|null

$name

$name : string

The heading name, or caption, for this entry.

Type

string

$hash

$hash : 

Type

$filename

$filename : string

The name for this file relative to the project's root.

This name may be used to generate links and to find other file definitions in the file index of the modules.

Type

string

Methods

getName()

getName() : string

Returns the name for this entry.

Returns

string

setName()

setName(string  $name) : void

Sets the caption for this entry,

Parameters

string $name

setFilename()

setFilename(string  $filename) : void

Sets the name for this file relative to the project root.

Parameters

string $filename

getFilename()

getFilename() : string

Returns the name for this file relative to the project root.

Returns

string

getHash()

getHash()