@@ 335-343 (lines=9) @@ | ||
332 | * |
|
333 | * @param string $row Row number to remove |
|
334 | */ |
|
335 | public function removeRow($row) |
|
336 | { |
|
337 | foreach ($this->getCellList() as $coord) { |
|
338 | sscanf($coord, '%[A-Z]%d', $c, $r); |
|
339 | if ($r == $row) { |
|
340 | $this->deleteCacheData($coord); |
|
341 | } |
|
342 | } |
|
343 | } |
|
344 | ||
345 | /** |
|
346 | * Remove a column, deleting all cells in that column |
|
@@ 350-358 (lines=9) @@ | ||
347 | * |
|
348 | * @param string $column Column ID to remove |
|
349 | */ |
|
350 | public function removeColumn($column) |
|
351 | { |
|
352 | foreach ($this->getCellList() as $coord) { |
|
353 | sscanf($coord, '%[A-Z]%d', $c, $r); |
|
354 | if ($c == $column) { |
|
355 | $this->deleteCacheData($coord); |
|
356 | } |
|
357 | } |
|
358 | } |
|
359 | ||
360 | /** |
|
361 | * Identify whether the caching method is currently available |