removeElement
removeElement
ADVANCED / PREMIUM
BASIC
Removes elements in the spreadsheet.
Description
public removeElement (array $referenceNode)
Parameters
referenceNode
An array to get the refence node.
The possible keys and values of this array are:
| key | Type | Description |
|---|---|---|
| type | string |
|
| contains | string | Contains a text string. Cell type. |
| occurrence | mixed |
|
| attributes | array | Contains a specific attribute key and value. |
| customQuery | string | Custom XPath query, overwrites any other reference. |
Exceptions
Method not available.
Code samples
Example #1
Release notes
- phpxlsx 4.5:
- new method.