| @@ 1275-1279 (lines=5) @@ | ||
| 1272 | while (($i = array_shift($keys)) !== null) { |
|
| 1273 | $out[] = $callback($this, $items[$i]); |
|
| 1274 | } |
|
| 1275 | } elseif ($cnt === 2) { |
|
| 1276 | while (($i = array_shift($keys)) !== null) { |
|
| 1277 | $out[] = $callback($this, $items[$i], $params[2]); |
|
| 1278 | } |
|
| 1279 | } elseif ($cnt === 3) { |
|
| 1280 | while (($i = array_shift($keys)) !== null) { |
|
| 1281 | $out[] = $callback($this, $items[$i], $params[2], $params[3]); |
|
| 1282 | } |
|
| @@ 1300-1304 (lines=5) @@ | ||
| 1297 | while (($i = array_shift($keys)) !== null) { |
|
| 1298 | $out[] = $callback($items[$i]); |
|
| 1299 | } |
|
| 1300 | } elseif ($cnt === 2) { |
|
| 1301 | while (($i = array_shift($keys)) !== null) { |
|
| 1302 | $out[] = $callback($items[$i], $params[1]); |
|
| 1303 | } |
|
| 1304 | } elseif ($cnt === 3) { |
|
| 1305 | while (($i = array_shift($keys)) !== null) { |
|
| 1306 | $out[] = $callback($items[$i], $params[1], $params[2]); |
|
| 1307 | } |
|
| @@ 1308-1312 (lines=5) @@ | ||
| 1305 | while (($i = array_shift($keys)) !== null) { |
|
| 1306 | $out[] = $callback($items[$i], $params[1], $params[2]); |
|
| 1307 | } |
|
| 1308 | } elseif ($cnt === 4) { |
|
| 1309 | while (($i = array_shift($keys)) !== null) { |
|
| 1310 | $out[] = $callback($items[$i], $params[1], $params[2], $params[3]); |
|
| 1311 | } |
|
| 1312 | } else { |
|
| 1313 | while (($i = array_shift($keys)) !== null) { |
|
| 1314 | $out[] = call_user_func_array($callback, array($items[$i]) + $params); |
|
| 1315 | } |
|