Changeset 1254459
- Timestamp:
- 09/27/2015 12:45:56 PM (10 years ago)
- Location:
- knvb-api/trunk
- Files:
-
- 2 edited
-
knvb-client.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
knvb-api/trunk/knvb-client.php
r1082945 r1254459 60 60 61 61 if(isset($json_data) && property_exists($json_data, 'List')) { 62 usort($json_data->List, function($a, $b) { 63 if(property_exists($a, 'Datum') && property_exists($a, 'Tijd') && 64 property_exists($b, 'Datum') && property_exists($b, 'Tijd') && 65 isset($a->Datum) && isset($a->Tijd) && 66 isset($b->Datum) && isset($b->Tijd)) { 67 $dt_a = str_replace('-', '', $a->Datum) . $a->Tijd; 68 $dt_b = str_replace('-', '', $b->Datum) . $b->Tijd; 69 70 return strcmp($dt_a, $dt_b); 71 } 72 }); 73 62 74 return $json_data->List; 63 75 } -
knvb-api/trunk/readme.txt
r1082945 r1254459 4 4 Tags: knvb, voetbal, api, soccer, dutch 5 5 Requires at least: 3.0.1 6 Tested up to: 4. 17 Stable tag: 1. 56 Tested up to: 4.3 7 Stable tag: 1.6 8 8 9 9 This plugin can be used for Dutch football clubs with a WordPress wedsite and a API-key for the KNVB data-API: http://www.knvbdataservice.nl/
Note: See TracChangeset
for help on using the changeset viewer.