# \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

File
  lib/class.AssocData.php
Package
  \CGExtensions
Class hierarchy
  \AssocDataNode

## Tags

internal |
todo |

## 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.

#

## Tags

todo |

### GetType()

    GetType() : string

Return the type of data

#### Returns

string

#

## Tags

todo |

### SetType()

    SetType(string $type)

Set the data type for this record.

#### Parameters

string | $type | Data type

#

## Tags

todo |

### GetData()

    GetData() : mixed

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

#### Returns

mixed

#

## Tags

todo |

### SetData()

    SetData(mixed $data)

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

#### Parameters

mixed | $data |

#

## Tags

todo |

### class.AssocData.php