| @@ 1344-1348 (lines=5) @@ | ||
| 1341 | while (($i = array_shift($keys)) !== null) { |
|
| 1342 | $out[] = $callback($this, $items[$i]); |
|
| 1343 | } |
|
| 1344 | } elseif ($cnt === 2) { |
|
| 1345 | while (($i = array_shift($keys)) !== null) { |
|
| 1346 | $out[] = $callback($this, $items[$i], $params[2]); |
|
| 1347 | } |
|
| 1348 | } elseif ($cnt === 3) { |
|
| 1349 | while (($i = array_shift($keys)) !== null) { |
|
| 1350 | $out[] = $callback($this, $items[$i], $params[2], $params[3]); |
|
| 1351 | } |
|
| @@ 1369-1373 (lines=5) @@ | ||
| 1366 | while (($i = array_shift($keys)) !== null) { |
|
| 1367 | $out[] = $callback($items[$i]); |
|
| 1368 | } |
|
| 1369 | } elseif ($cnt === 2) { |
|
| 1370 | while (($i = array_shift($keys)) !== null) { |
|
| 1371 | $out[] = $callback($items[$i], $params[1]); |
|
| 1372 | } |
|
| 1373 | } elseif ($cnt === 3) { |
|
| 1374 | while (($i = array_shift($keys)) !== null) { |
|
| 1375 | $out[] = $callback($items[$i], $params[1], $params[2]); |
|
| 1376 | } |
|
| @@ 1377-1381 (lines=5) @@ | ||
| 1374 | while (($i = array_shift($keys)) !== null) { |
|
| 1375 | $out[] = $callback($items[$i], $params[1], $params[2]); |
|
| 1376 | } |
|
| 1377 | } elseif ($cnt === 4) { |
|
| 1378 | while (($i = array_shift($keys)) !== null) { |
|
| 1379 | $out[] = $callback($items[$i], $params[1], $params[2], $params[3]); |
|
| 1380 | } |
|
| 1381 | } else { |
|
| 1382 | while (($i = array_shift($keys)) !== null) { |
|
| 1383 | $out[] = call_user_func_array($callback, array($items[$i]) + $params); |
|
| 1384 | } |
|