\AssocDataNode

A node containing associative data.

This class is used exclusively by the AssocData class

Summary

Methods
Properties
Constants
__construct()
GetType()
SetType()
GetData()
SetData()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(string $type, mixed $data)

Construct a new AssocDataNode object.

Parameters

string $type

(The data type. i.e: object, int, boolean, array) (deprecated)

mixed $data

The data to store.

GetType()

GetType() : string

Return the type of data

Returns

string

SetType()

SetType(string $type)

Set the data type for this record.

Parameters

string $type

Data type

GetData()

GetData() : mixed

Set the data for this record May be a serialized object or array

Returns

mixed

SetData()

SetData(mixed $data)

Set the data for this record May be a serialized object or array

Parameters

mixed $data