MenuEntryManagement
Table of Contents
Methods
- attachDocumentEntriesToParents() : void
- isAbsoluteFile() : bool
- isCurrent() : bool
- isInRootline() : bool
Methods
attachDocumentEntriesToParents()
private
attachDocumentEntriesToParents(array<string|int, DocumentEntryNode|ExternalEntryNode> $entryNodes, CompilerContextInterface $compilerContext, string $currentPath) : void
Parameters
- $entryNodes : array<string|int, DocumentEntryNode|ExternalEntryNode>
- $compilerContext : CompilerContextInterface
- $currentPath : string
isAbsoluteFile()
private
static isAbsoluteFile(string $expectedFile) : bool
Parameters
- $expectedFile : string
Return values
boolisCurrent()
private
static isCurrent(DocumentEntryNode $menuEntry, string $currentPath) : bool
Parameters
- $menuEntry : DocumentEntryNode
- $currentPath : string
Return values
boolisInRootline()
private
static isInRootline(DocumentEntryNode $menuEntry, DocumentEntryNode $currentDoc) : bool
Parameters
- $menuEntry : DocumentEntryNode
- $currentDoc : DocumentEntryNode