# \CGExtensions\LinkDefinitionDataRef

A class to abstract a data reference i.e: a content page, stylesheet, or a module data item this can then be used by the DataReferenceLinkGenerator stuff to generate links to these data items

## Summary

Methods
Properties
Constants
__construct()
fromString()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$_data
N/A

File
  lib/LinkDefinition/class.DataRef.php
Class hierarchy
  \CGExtensions\LinkDefinition\DataRef

## Tags

todo |

## Properties

### $_data

    $_data

#

## Tags

todo |

## Methods

### __construct()

    __construct(array $parms)

Constructor

#### Parameters

array | $parms | An associative array of parameters

#

## Tags

todo |

### fromString()

    fromString( $str) : \CGExtensions\LinkDefinition\DataRef

Create a new dataref object from a string

#### Parameters

| $str |

#### Returns

\CGExtensions\LinkDefinition\DataRef

#

static

## Tags

todo |

### class.DataRef.php