protected function fillResultArrayList($row, $resultObject) { if ($resultObject instanceof TList) { foreach ($row as $v) { $resultObject[] = $v; } } else { foreach ($row as $k => $v) { $resultObject[$k] = $v; } } return $resultObject; }