ILIAS  release_4-4 Revision
All Data Structures Namespaces Files Functions Variables Modules Pages
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 2141 of file ilSCORM13Player.php.

2141  {
2142  if (strtotime($a['date']) == strtotime($b['date'])) {
2143  return 0;
2144  }
2145  return (strtotime($a['date']) < strtotime($b['date'])) ? 1 :-1;
2146 }