ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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 2168 of file class.ilSCORM13PlayerGUI.php.

2168 : int
2169{
2170 if (strtotime($a['date']) == strtotime($b['date'])) {
2171 return 0;
2172 }
2173 return (strtotime($a['date']) < strtotime($b['date'])) ? 1 : -1;
2174}
$a
thx to https://mlocati.github.io/php-cs-fixer-configurator for the examples

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