ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
class.ilSCORM13PlayerGUI.php File Reference

Go to the source code of this file.

Data Structures

class  ilSCORM13PlayerGUI
 

Functions

 datecmp (array $a, array $b)
 

Function Documentation

◆ datecmp()

datecmp ( array  $a,
array  $b 
)

Definition at line 2156 of file class.ilSCORM13PlayerGUI.php.

2156  : int
2157 {
2158  if (strtotime($a['date']) == strtotime($b['date'])) {
2159  return 0;
2160  }
2161  return (strtotime($a['date']) < strtotime($b['date'])) ? 1 : -1;
2162 }
$a
thx to https://mlocati.github.io/php-cs-fixer-configurator for the examples