| Recommend this page to a friend! | 
| Classes of Jakub Dubec | PHP GPX Library | docs/phpGPX-Models-Collection.md | Download | 
  | 
|||||||||||||||||||||
phpGPX\Models\CollectionClass Collection 
 Properties$name
GPS name of route / track. An original GPX 1.1 attribute. 
 $comment
GPS comment for route. An original GPX 1.1 attribute. 
 $description
Text description of route/track for user. Not sent to GPS. An original GPX 1.1 attribute. 
 $source
Source of data. Included to give user some idea of reliability and accuracy of data. An original GPX 1.1 attribute. 
 $links
Links to external information about the route/track. An original GPX 1.1 attribute. 
 $number
GPS route/track number. An original GPX 1.1 attribute. 
 $type
Type (classification) of route/track. An original GPX 1.1 attribute. 
 $extensions
You can add extend GPX by adding your own elements from another schema here. An original GPX 1.1 attribute. 
 $stats
Objects contains calculated statistics for collection. 
 Methods__construct
Collection constructor. 
 getPoints
Return all points in collection. 
 toArray
Serialize object to array 
 recalculateStats
Recalculate stats objects. 
  |