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