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