private function processImport($import, array $imported_resources)
{
if (is_array($import) && array_key_exists('resource', $import) && is_array($import['resource'])) {
foreach ($import['resource'] as $resource) {
$temp = array('resource' => $resource, 'relative' => $this->checkBooleanValue('relative', $import), 'recursive' => $this->checkBooleanValue('recursive', $import));
$imported_resources = $this->import2Resource($temp, $imported_resources);
}
} else {
$imported_resources = $this->import2Resource($import, $imported_resources);
}
return $imported_resources;
}