// Walk through all entries
foreach ($columns as $columnArray) {
// Must be an array
- assert(is_array($columnArray));
+ assert(is_array($columnArray), 'columnArray[]=' . gettype($columnArray) . ' must be an array.');
// Init SQL part
$sqlPart = '';
// Walk through whole array
foreach ($columns as $key => $columnArray) {
// Make sure the element is there
- assert(isset($columnArray[$childKey]));
+ assert(isset($columnArray[$childKey]), 'columnArray[' . $childKey . '] is not set.');
// Now is it what we are looking for?
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'value=' . $value . ',key=' . $key . ',childKey=' . $childKey . ',columnArray=' . $columnArray[$childKey]);