Added a plugin system for looking up products against external services by barcode (references #6)

This commit is contained in:
Bernd Bestel
2018-04-22 19:47:46 +02:00
parent 4853174d03
commit a9a1358b08
12 changed files with 318 additions and 1 deletions

View File

@@ -72,3 +72,9 @@ function RandomString($length, $allowedChars = '0123456789abcdefghijklmnopqrstuv
return $randomString;
}
function IsAssociativeArray(array $array)
{
$keys = array_keys($array);
return array_keys($keys) !== $keys;
}