Documentation

TAGNode
in package

AbstractYes

Table of Contents

Constants

TYPE_BYTE  = 1
TYPE_BYTEARRAY  = 7
TYPE_COMPOUND  = 10
TYPE_DOUBLE  = 6
TYPE_END  = 0
TYPE_FLOAT  = 5
TYPE_INT  = 3
TYPE_LIST  = 9
TYPE_LONG  = 4
TYPE_SHORT  = 2
TYPE_STRING  = 8

Properties

$document  : mixed
$exlicitTagType  : mixed
$Name  : mixed
$offset  : mixed
$Payload  : mixed
$Root  : mixed
$tagNames  : mixed
$type  : mixed

Methods

__construct()  : mixed
createDocument()  : mixed
createNode()  : mixed
getBinary()  : mixed
getElementsByName()  : mixed
getFloat()  : mixed
getInteger()  : mixed
getLength()  : mixed
getPayloadOffset()  : mixed
getValue()  : mixed
init()  : mixed
loadName()  : mixed
loadPayload()  : mixed
parseDocument()  : mixed
TAG2DOM()  : mixed
instantiateNode()  : mixed

Constants

TYPE_BYTE

public mixed TYPE_BYTE = 1

TYPE_BYTEARRAY

public mixed TYPE_BYTEARRAY = 7

TYPE_COMPOUND

public mixed TYPE_COMPOUND = 10

TYPE_DOUBLE

public mixed TYPE_DOUBLE = 6

TYPE_FLOAT

public mixed TYPE_FLOAT = 5

TYPE_LIST

public mixed TYPE_LIST = 9

TYPE_LONG

public mixed TYPE_LONG = 4

TYPE_SHORT

public mixed TYPE_SHORT = 2

TYPE_STRING

public mixed TYPE_STRING = 8

Properties

$document

public static mixed $document = ''

$exlicitTagType

public mixed $exlicitTagType = false

$Payload

public mixed $Payload = array()

$tagNames

public static mixed $tagNames = array(0 => 'end', 1 => 'byte', 2 => 'short', 3 => 'int', 4 => 'long', 5 => 'float', 6 => 'double', 7 => 'byteArray', 8 => 'string', 9 => 'list', 10 => 'compound')

Methods

__construct()

public __construct(mixed $tagType) : mixed
Parameters
$tagType : mixed

createDocument()

public static createDocument(mixed $string) : mixed
Parameters
$string : mixed

createNode()

public static createNode(mixed $tagType, mixed $offset[, mixed $namedTag = false ][, mixed $exlicitTagType = false ]) : mixed
Parameters
$tagType : mixed
$offset : mixed
$namedTag : mixed = false
$exlicitTagType : mixed = false

getBinary()

public static getBinary(mixed $offset, mixed $length) : mixed
Parameters
$offset : mixed
$length : mixed

getElementsByName()

public getElementsByName(mixed $name) : mixed
Parameters
$name : mixed

getFloat()

public static getFloat(mixed $offset, mixed $length) : mixed
Parameters
$offset : mixed
$length : mixed

getInteger()

public static getInteger(mixed $offset, mixed $length) : mixed
Parameters
$offset : mixed
$length : mixed

getLength()

public getLength() : mixed

getPayloadOffset()

public getPayloadOffset() : mixed

getValue()

public abstract getValue() : mixed

init()

public init([mixed $offset = null ][, mixed $namedTag = false ][, mixed $exlicitTagType = false ]) : mixed
Parameters
$offset : mixed = null
$namedTag : mixed = false
$exlicitTagType : mixed = false

loadName()

public loadName() : mixed

loadPayload()

public abstract loadPayload() : mixed

parseDocument()

public static parseDocument([mixed $offset = 0 ][, mixed $namedTag = true ][, mixed $tagType = null ]) : mixed
Parameters
$offset : mixed = 0
$namedTag : mixed = true
$tagType : mixed = null

TAG2DOM()

public static TAG2DOM(DOMDocument $Doc, TAGNode $Tag) : mixed
Parameters
$Doc : DOMDocument
$Tag : TAGNode

instantiateNode()

protected static instantiateNode(mixed $tagType) : mixed
Parameters
$tagType : mixed

        
On this page

Search results