ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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 2157 of file ilSCORM13Player.php.

2157  {
2158  if (strtotime($a['date']) == strtotime($b['date'])) {
2159  return 0;
2160  }
2161  return (strtotime($a['date']) < strtotime($b['date'])) ? 1 :-1;
2162 }