@@ 3463-3471 (lines=9) @@ | ||
3460 | $sheet2 = $sheet1; |
|
3461 | } |
|
3462 | if ($sheet1 == $sheet2) { |
|
3463 | if ($operand1Data['reference'] === null) { |
|
3464 | if ((trim($operand1Data['value']) != '') && (is_numeric($operand1Data['value']))) { |
|
3465 | $operand1Data['reference'] = $pCell->getColumn() . $operand1Data['value']; |
|
3466 | } elseif (trim($operand1Data['reference']) == '') { |
|
3467 | $operand1Data['reference'] = $pCell->getCoordinate(); |
|
3468 | } else { |
|
3469 | $operand1Data['reference'] = $operand1Data['value'] . $pCell->getRow(); |
|
3470 | } |
|
3471 | } |
|
3472 | if ($operand2Data['reference'] === null) { |
|
3473 | if ((trim($operand2Data['value']) != '') && (is_numeric($operand2Data['value']))) { |
|
3474 | $operand2Data['reference'] = $pCell->getColumn() . $operand2Data['value']; |
|
@@ 3472-3480 (lines=9) @@ | ||
3469 | $operand1Data['reference'] = $operand1Data['value'] . $pCell->getRow(); |
|
3470 | } |
|
3471 | } |
|
3472 | if ($operand2Data['reference'] === null) { |
|
3473 | if ((trim($operand2Data['value']) != '') && (is_numeric($operand2Data['value']))) { |
|
3474 | $operand2Data['reference'] = $pCell->getColumn() . $operand2Data['value']; |
|
3475 | } elseif (trim($operand2Data['reference']) == '') { |
|
3476 | $operand2Data['reference'] = $pCell->getCoordinate(); |
|
3477 | } else { |
|
3478 | $operand2Data['reference'] = $operand2Data['value'] . $pCell->getRow(); |
|
3479 | } |
|
3480 | } |
|
3481 | ||
3482 | $oData = array_merge(explode(':', $operand1Data['reference']), explode(':', $operand2Data['reference'])); |
|
3483 | $oCol = $oRow = []; |