\CGExtensions\LinkDefinitionLinkDefinition

A class with all of the information necessary to create a link definition <a> tag.

Summary

Methods
Properties
Constants
__construct()
validate()
draw()
$download
$href
$hreflang
$media
$id
$name
$rel
$target
$type
$class
$accesskey
$contenteditable
$contextmenu
$dir
$draggable
$dropzone
$hidden
$lang
$spellcheck
$style
$tabindex
$title
$translate
$text
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$download

$download : string

Type

string

$href

$href : string

Type

string

$hreflang

$hreflang : string

Type

string

$media

$media : string

Type

string

$id

$id : string

Type

string

$name

$name : string

Type

string

$rel

$rel : string

Type

string

$target

$target : string

Type

string

$type

$type : string

Type

string

$class

$class : string

Type

string

$accesskey

$accesskey : string

Type

string

$contenteditable

$contenteditable : string

Type

string

$contextmenu

$contextmenu : string

Type

string

$dir

$dir : string

Type

string

$draggable

$draggable : string

Type

string

$dropzone

$dropzone : string

Type

string

$hidden

$hidden : string

Type

string

$lang

$lang : string

Type

string

$spellcheck

$spellcheck : string

Type

string

$style

$style : string

Type

string

$tabindex

$tabindex : string

Type

string

$title

$title : string

Type

string

$translate

$translate : string

Type

string

$text

$text : string

The text to display in the link.

Type

string

Methods

__construct()

__construct(array $parms)

Constructor

Parameters

array $parms

An array of input properties.

validate()

validate()

A simple function to validate the contents of this link.

Throws

\CGExtensions\LinkDefinition\RuntimeException

draw()

draw() : string

Draw the link.

Actually it just outputs an <a> tag.

Returns

string