ArchiveNode
extends AbstractNode
in package
implements
BuildableInterface, FileWriterInterface, StringWriterInterface, FileReaderInterface
FinalYes
Table of Contents
Interfaces
- BuildableInterface
- FileWriterInterface
- StringWriterInterface
- FileReaderInterface
Constants
- NAMESPACE_SEPARATOR = '\\'
Methods
- appendBuildChild() : void
- fromFile() : void
- fromString() : void
- getArchivePath() : string
- getBuildAncestors() : iterable<string|int, mixed>
- getBuildAttributes() : array<string|int, mixed>
- getBuildChildren() : iterable<string|int, mixed>|null
- getBuildHash() : string
- getBuildTag() : string
- getFileByName() : SplFileInfo
- getFileNames() : iterable<string|int, mixed>
- getFileNodeByName() : FileContainer
- getFileNodes() : array<string|int, FileContainer>
- getName() : string
- getOwnerSavegame() : SavegameNode
- getParentNode() : AbstractNode|null
- init() : void
- load() : void
- setDirty() : void
- toFile() : SplFileInfo
- toFileName() : string
- toString() : string
- getConverter() : Converter
- loadChild() : void
- loadChildren() : void
- loadNode() : void
- loadStruc() : void
Constants
NAMESPACE_SEPARATOR
public
mixed
NAMESPACE_SEPARATOR
= '\\'
Methods
appendBuildChild()
public
appendBuildChild(BuildableInterface $childNode) : void
Parameters
- $childNode : BuildableInterface
fromFile()
public
fromFile(SplFileInfo $sourceFile) : void
Parameters
- $sourceFile : SplFileInfo
fromString()
public
fromString(string $sourceString) : void
Parameters
- $sourceString : string
getArchivePath()
public
getArchivePath() : string
Return values
stringgetBuildAncestors()
public
getBuildAncestors() : iterable<string|int, mixed>
Return values
iterable<string|int, mixed>getBuildAttributes()
public
getBuildAttributes(BuilderInterface $builder) : array<string|int, mixed>
Parameters
- $builder : BuilderInterface
Return values
array<string|int, mixed>getBuildChildren()
public
getBuildChildren() : iterable<string|int, mixed>|null
Return values
iterable<string|int, mixed>|nullgetBuildHash()
public
getBuildHash() : string
Return values
stringgetBuildTag()
public
getBuildTag() : string
Return values
stringgetFileByName()
public
getFileByName(string $name) : SplFileInfo
Parameters
- $name : string
Return values
SplFileInfogetFileNames()
public
getFileNames() : iterable<string|int, mixed>
Return values
iterable<string|int, mixed>getFileNodeByName()
public
getFileNodeByName(string $name) : FileContainer
Parameters
- $name : string
Return values
FileContainergetFileNodes()
public
getFileNodes() : array<string|int, FileContainer>
Return values
array<string|int, FileContainer>getName()
public
getName() : string
Return values
stringgetOwnerSavegame()
public
getOwnerSavegame() : SavegameNode
Return values
SavegameNodegetParentNode()
public
getParentNode() : AbstractNode|null
Return values
AbstractNode|nullinit()
public
init(LeanElement $strucElement[, AbstractNode|null $parentNode = null ]) : void
Parameters
- $strucElement : LeanElement
- $parentNode : AbstractNode|null = null
load()
public
load([bool $loadFiles = false ]) : void
Parameters
- $loadFiles : bool = false
setDirty()
public
setDirty() : void
toFile()
public
toFile() : SplFileInfo
Return values
SplFileInfotoFileName()
public
toFileName() : string
Return values
stringtoString()
public
toString() : string
Return values
stringgetConverter()
protected
getConverter() : Converter
Return values
ConverterloadChild()
protected
final loadChild(LeanElement $strucElement) : void
Parameters
- $strucElement : LeanElement
loadChildren()
protected
loadChildren(LeanElement $strucElement) : void
Parameters
- $strucElement : LeanElement
loadNode()
protected
loadNode(LeanElement $strucElement) : void
Parameters
- $strucElement : LeanElement
loadStruc()
protected
loadStruc(LeanElement $strucElement) : void
Parameters
- $strucElement : LeanElement