ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
ilSCORM13Player.php File Reference

Go to the source code of this file.

Data Structures

class  ilSCORM13Player
 

Functions

 datecmp ($a, $b)
 

Function Documentation

◆ datecmp()

datecmp (   $a,
  $b 
)

Definition at line 2135 of file ilSCORM13Player.php.

2136{
2137 if (strtotime($a['date']) == strtotime($b['date'])) {
2138 return 0;
2139 }
2140 return (strtotime($a['date']) < strtotime($b['date'])) ? 1 :-1;
2141}
$a
thx to https://mlocati.github.io/php-cs-fixer-configurator for the examples

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