phpDocumentor

LinkDescriptor extends TagDescriptor
in package

Descriptor representing the link tag with a descriptor.

Table of Contents

$description  : DescriptionDescriptor
$errors  : Collection<string|int, Error>
$link  : string
$name  : string
__construct()  : mixed
Initializes the tag by setting the name and errors,
__toString()  : string
getDescription()  : DescriptionDescriptor
Returns the description for this tag,
getErrors()  : Collection<string|int, Error>
Returns all errors associated with this tag.
getLink()  : string
Returns the URL where this link points to.
getName()  : string
Returns the name for this tag.
setDescription()  : void
Sets a description for this tab instance.
setErrors()  : void
Sets a list of errors found on the usage of this tag.
setLink()  : void
Sets the URL where the link points to.
setName()  : void
Sets the name for this tag.

Properties

protected string $link = ''

the url where the link points to.

Methods

__toString()

public __toString() : string
Return values
string

Returns the URL where this link points to.

public getLink() : string
Return values
string

getName()

Returns the name for this tag.

public getName() : string
Return values
string

Sets the URL where the link points to.

public setLink(string $link) : void
Parameters
$link : string
Return values
void

setName()

Sets the name for this tag.

protected setName(string $name) : void
Parameters
$name : string
Return values
void

Search results