PHP Classes
elePHPant
Icontem

File: docs/phpGPX-Parsers-LinkParser.md

Recommend this page to a friend!
  Classes of Jakub Dubec  >  PHP GPX Library  >  docs/phpGPX-Parsers-LinkParser.md  >  Download  
File: docs/phpGPX-Parsers-LinkParser.md
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: PHP GPX Library
Parser and generator of GPS Exchange files
Author: By
Last change:
Date: 1 year ago
Size: 1,123 bytes
 

Contents

Class file image Download

phpGPX\Parsers\LinkParser

  • Class name: LinkParser
  • Namespace: phpGPX\Parsers
  • This is an abstract class

Properties

$tagName

private mixed $tagName = 'link'

  • Visibility: private
  • This property is static.

Methods

parse

array<mixed,\phpGPX\Models\Link> phpGPX\Parsers\LinkParser::parse(array<mixed,\SimpleXMLElement> $nodes)

  • Visibility: public
  • This method is static.

Arguments

  • $nodes array&lt;mixed,\SimpleXMLElement&gt;

toXMLArray

array<mixed,\DOMElement> phpGPX\Parsers\LinkParser::toXMLArray(array<mixed,\phpGPX\Models\Link> $links, \DOMDocument $document)

  • Visibility: public
  • This method is static.

Arguments

  • $links array&lt;mixed,\phpGPX\Models\Link&gt;
  • $document DOMDocument

toXML

\DOMElement phpGPX\Parsers\LinkParser::toXML(\phpGPX\Models\Link $link, \DOMDocument $document)

  • Visibility: public
  • This method is static.

Arguments