ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
AggregateBase.php
Go to the documentation of this file.
1 <?php
2 
4 
6 
7 abstract class AggregateBase
8 {
19  protected static function testAcceptedBoolean($arg, $k)
20  {
21  if (
22  (is_bool($arg)) &&
25  ) {
26  $arg = (int) $arg;
27  }
28 
29  return $arg;
30  }
31 
38  protected static function isAcceptedCountable($arg, $k)
39  {
40  if (
41  ((is_numeric($arg)) && (!is_string($arg))) ||
42  ((is_numeric($arg)) && (!Functions::isCellValue($k)) &&
44  ) {
45  return true;
46  }
47 
48  return false;
49  }
50 }
static testAcceptedBoolean($arg, $k)
MS Excel does not count Booleans if passed as cell values, but they are counted if passed as literals...
static getCompatibilityMode()
Return the current Compatibility Mode.
Definition: Functions.php:93