1 | <?php |
||
16 | class NameMapping |
||
17 | { |
||
18 | public static $mappingArray = [ |
||
19 | 'neorun' => DeviceProfile::APP_EPSON_NEO_RUN, |
||
20 | 'kompass' => DeviceProfile::APP_KOMPASS, |
||
21 | 'runtastic' => DeviceProfile::APP_RUNTASTIC, |
||
22 | 'smashrun' => DeviceProfile::APP_SMASHRUN, |
||
23 | 'trails' => DeviceProfile::APP_TRAILS, |
||
24 | 'sports tracker' => DeviceProfile::APP_SPORTS_TRACKER, |
||
25 | 'runkeeper' => DeviceProfile::APP_RUNKEEPER, |
||
26 | 'runmeter' => DeviceProfile::APP_RUNMETER, |
||
27 | 'decathlon' => DeviceProfile::APP_DECATHLON_COACH, |
||
28 | 'endomondo' => DeviceProfile::APP_ENDOMONDO, |
||
29 | 'ismoothrun' => DeviceProfile::APP_I_SMOOTH_RUN, |
||
30 | 'strava' => DeviceProfile::APP_STRAVA, |
||
31 | 'trailrunner' => DeviceProfile::APP_TRAIL_RUNNER, |
||
32 | 'run.gps' => DeviceProfile::APP_RUN_GPS_TRAINER, |
||
33 | 'osmand' => DeviceProfile::APP_OSM_AND, |
||
34 | 'locus map' => DeviceProfile::APP_LOCUS_MAP, |
||
35 | 'endomondo' => DeviceProfile::APP_ENDOMONDO, |
||
36 | 'polar flow' => DeviceProfile::APP_POLAR_FLOW, |
||
37 | 'sportractive' => DeviceProfile::APP_SPORTRACTIVE, |
||
38 | 'oruxmaps' => DeviceProfile::APP_ORUX_MAPS, |
||
39 | 'komoot' => DeviceProfile::APP_KOMOOT, |
||
40 | 'navime' => DeviceProfile::APP_NAVIME, |
||
41 | 'http://www.polarpersonaltrainer.com' => DeviceProfile::APP_POLAR_PERSONAL_TRAINER, |
||
42 | 'a-rival' => DeviceProfile::ARIVAL_UNKNOWN, |
||
43 | ]; |
||
44 | |||
45 | /** |
||
46 | * @param string $creator |
||
47 | * @return int|null |
||
48 | */ |
||
49 | 1 | public static function getEnum($creator) |
|
59 | } |
||
60 |