/** * @param bool $ignoreDataUpdate * @param array $headers * @param int $errorCount * @return array */ private function getModuleTable($ignoreDataUpdate, array $headers, &$errorCount) { $errorCount = 0; $table = array(); foreach ($this->getMagentoModuleList() as $name => $module) { $row = $this->mapModuleToRow($name, $module, $ignoreDataUpdate, $errorCount); if ($ignoreDataUpdate) { unset($row['Data']); } $table[] = ArrayFunctions::columnOrder($headers, $row); } return $table; }