ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
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 2174 of file class.ilSCORM13PlayerGUI.php.

2174 : int
2175{
2176 if (strtotime($a['date']) == strtotime($b['date'])) {
2177 return 0;
2178 }
2179 return (strtotime($a['date']) < strtotime($b['date'])) ? 1 : -1;
2180}
$a
thx to https://mlocati.github.io/php-cs-fixer-configurator for the examples

References Vendor\Package\$a, and Vendor\Package\$b.