|
@@ 481-491 (lines=11) @@
|
| 478 |
|
$patternKeys = $this->getPatternKeys(); |
| 479 |
|
|
| 480 |
|
// prepare the .OK filenames based on the found CSV file information |
| 481 |
|
for ($i = 1; $i <= sizeof($patternKeys); $i++) { |
| 482 |
|
// initialize the array for the pattern that has to used to load |
| 483 |
|
// the propsed .OK file for |
| 484 |
|
$keys = array(); |
| 485 |
|
// load the parts from the matches |
| 486 |
|
for ($z = 0; $z < $i; $z++) { |
| 487 |
|
$keys[] = $patternKeys[$z]; |
| 488 |
|
} |
| 489 |
|
// merge the proposed .OK filenames for the passed keys into the array |
| 490 |
|
$okFilenames = array_merge_recursive($okFilenames, $this->proposedOkFilenamesByKeys($keys)); |
| 491 |
|
} |
| 492 |
|
|
| 493 |
|
// finally, we filter and sort them with the configured behaviour |
| 494 |
|
$this->getFilterImpl()->filter($okFilenames); |
|
@@ 390-400 (lines=11) @@
|
| 387 |
|
$patternKeys = $this->getPatternKeys(); |
| 388 |
|
|
| 389 |
|
// prepare the .OK filenames based on the found CSV file information |
| 390 |
|
for ($i = 1; $i <= sizeof($patternKeys); $i++) { |
| 391 |
|
// initialize the array for the pattern that has to used to load |
| 392 |
|
// the propsed .OK file for |
| 393 |
|
$keys = array(); |
| 394 |
|
// load the parts from the matches |
| 395 |
|
for ($z = 0; $z < $i; $z++) { |
| 396 |
|
$keys[] = $patternKeys[$z]; |
| 397 |
|
} |
| 398 |
|
// merge the proposed .OK filenames for the passed keys into the array |
| 399 |
|
$okFilenames = array_merge_recursive($okFilenames, $this->proposedOkFilenamesByKeys($keys)); |
| 400 |
|
} |
| 401 |
|
|
| 402 |
|
// prepare and return the pattern for the OK file |
| 403 |
|
return $okFilenames; |