removeVariableText
- getTemplateVariables
- getTemplateVariablesType
- removeVariableAudio
- removeVariableImage
- removeVariableText
- removeVariableVideo
- replaceVariableAudio
- replaceVariableHtml
- replaceVariableImage
- replaceVariableList
- replaceVariablePptxFragment
- replaceVariableTable
- replaceVariableText
- replaceVariableVideo
- setTemplateSymbol
removeVariableText

Removes text placeholder variables from the PowerPoint presentation.
Description
public removeVariableText($variables, $options = array())
This method allows to remove text placeholder variables.
Parameters
$variables
Array of variables to remove.
options
Key | Type | Description |
---|---|---|
activeSlide | bool | If true, get only the active slide. Default as false. |
target | string |
|
type | string |
|
Code samples
Example #1
Release notes
- phppptx 3.5:
- type option.
- phppptx 3.0:
- notesSlides, slideLayouts and slideMasters targets.
- phppptx 1.0:
- new method.