Skip to the content.

phpGPX\Models\Link

Class Link according to GPX 1.1 specification.

A link to an external resource (Web page, digital photo, video clip, etc) with additional information.

Properties

$href

public string $href

URL of hyperlink.

$text

public string $text

Text of hyperlink.

$type

public string $type

Mime type of content (image/jpeg)

Methods

__construct

mixed phpGPX\Models\Link::__construct()

Link constructor.

toArray

array phpGPX\Models\Summarizable::toArray()

Serialize object to array