Documentation

FileContainer extends AbstractNode
in package
implements NodeEvaluatorInterface, BuildableInterface, FileWriterInterface

FinalYes

Table of Contents

Interfaces

NodeEvaluatorInterface
BuildableInterface
FileWriterInterface

Methods

appendBuildChild()  : void
evaluate()  : mixed
evaluateMath()  : int
extractContent()  : string
findStringAtOrAfter()  : int|null
getBuildAncestors()  : iterable<string|int, mixed>
getBuildAttributes()  : array<string|int, mixed>
getBuildChildren()  : iterable<string|int, mixed>|null
getBuildHash()  : string
getBuildTag()  : string
getContent()  : string
getFileName()  : string
getImageNodeById()  : ImageValue
getImageNodes()  : iterable<string|int, mixed>
getOwnerSavegame()  : SavegameNode
getParentNode()  : AbstractNode|null
getValueById()  : AbstractValueContent
getValueByName()  : AbstractValueContent
getValueList()  : Vector
init()  : void
insertContent()  : void
insertContentBit()  : void
load()  : void
registerImage()  : int
registerValue()  : int
setContent()  : void
setDirty()  : void
toFile()  : SplFileInfo
getConverter()  : Converter
loadChild()  : void
loadChildren()  : void
loadNode()  : void
loadStruc()  : void

Methods

evaluate()

public evaluate(mixed $expression) : mixed
Parameters
$expression : mixed

evaluateMath()

public evaluateMath(string $code) : int
Parameters
$code : string
Return values
int

extractContent()

public extractContent(mixed $offset, mixed $length) : string
Parameters
$offset : mixed
$length : mixed
Return values
string

findStringAtOrAfter()

public findStringAtOrAfter(string $search[, int $offset = 0 ]) : int|null
Parameters
$search : string
$offset : int = 0
Return values
int|null

getBuildAncestors()

public getBuildAncestors() : iterable<string|int, mixed>
Return values
iterable<string|int, mixed>

getBuildChildren()

public getBuildChildren() : iterable<string|int, mixed>|null
Return values
iterable<string|int, mixed>|null

getBuildHash()

public getBuildHash() : string
Return values
string

getBuildTag()

public getBuildTag() : string
Return values
string

getContent()

public getContent() : string
Return values
string

getFileName()

public getFileName() : string
Return values
string

getImageNodes()

public getImageNodes() : iterable<string|int, mixed>
Return values
iterable<string|int, mixed>

getValueList()

public getValueList() : Vector
Return values
Vector

insertContent()

public insertContent(int $offset, int $length, string $value) : void
Parameters
$offset : int
$length : int
$value : string

insertContentBit()

public insertContentBit(int $offset, int $bit, bool $value) : void
Parameters
$offset : int
$bit : int
$value : bool

setContent()

public setContent(string $content) : void
Parameters
$content : string

toFile()

public toFile() : SplFileInfo
Return values
SplFileInfo

loadChild()

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

        
On this page

Search results