\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
No private properties found
N/A

Methods

__construct()

__construct(array $parms)

Constructor

Parameters

array $parms

An associative array of parameters

fromString()

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

Create a new dataref object from a string

Parameters

string $str

Input string of the format __DataRef::key1val::key2val::key3val::key4val

Returns

\CGExtensions\LinkDefinition\DataRef