* @param $add Whether add this group
* @return void
*/
- public function setVariableGroup ($groupName, $add = true) {
+ public function setVariableGroup ($groupName, $add = TRUE) {
// Call the inner class' method
$this->getTemplateInstance()->setVariableGroup($groupName, $add);
}
* Removes a given variable
*
* @param $variableName The variable we are looking for
+ * @param $variableGroup Name of variable group (default: 'general')
* @return void
*/
- public final function removeVariable ($variableName) {
+ public final function removeVariable ($variableName, $variableGroup = 'general') {
// Call the inner class' method
- $this->getTemplateInstance()->removeVariable($variableName);
+ $this->getTemplateInstance()->removeVariable($variableName, $variableGroup);
}
/**
* @param $languageSupport New language support setting
* @return void
*/
- public final function enableLanguageSupport ($languageSupport = true) {
+ public final function enableLanguageSupport ($languageSupport = TRUE) {
// Call the inner class' method
$this->getTemplateInstance()->enableLanguageSupport($languageSupport);
}
* @param $xmlCompacting New XML compacting setting
* @return void
*/
- public final function enableXmlCompacting ($xmlCompacting = true) {
+ public final function enableXmlCompacting ($xmlCompacting = TRUE) {
// Call the inner class' method
$this->getTemplateInstance()->enableXmlCompacting($xmlCompacting);
}
* @return void
* @throws XmlNodeMismatchException If current main node mismatches the closing one
*/
- public function endElement ($resource, $nodeName) {
+ public function finishElement ($resource, $nodeName) {
// Call the inner class' method
- $this->getTemplateInstance()->endElement($resource, $nodeName);
+ $this->getTemplateInstance()->finishElement($resource, $nodeName);
}
/**