class LinkDataFieldData implements DataFieldDataInterface (View source)

Represents a link. Useful for linking to pages on your site, because the contents are run through the Concrete\Core\Editor\LinkAbstractor class, ensuring that if your site is migrated elsewhere the cached contents of the data field will translate to the new environment.

Properties

$link

Methods

__construct(string $link = null)

No description

void
setData($link)

No description

__toString()

No description

jsonSerialize()

No description

denormalize(DenormalizerInterface $denormalizer, $data, $format = null, array $context = [])

No description

Details

__construct(string $link = null)

No description

Parameters

string $link

void setData($link)

No description

Parameters

$link

Return Value

void

__toString()

No description

jsonSerialize()

No description

denormalize(DenormalizerInterface $denormalizer, $data, $format = null, array $context = [])

No description

Parameters

DenormalizerInterface $denormalizer
$data
$format
array $context