clear the given assigned template variable.

@param string $tpl_var the template variable to clear
183845
function clear_assign($tpl_var)
	{
		if (is_array($tpl_var))
		foreach ($tpl_var as $curr_var)
		unset($this->_tpl_vars[$curr_var]);
		else
		unset($this->_tpl_vars[$tpl_var]);
	}
1096967
protected function _clear_var()
    {
        $this->field    = array();
        $this->limit    = '';
        $this->skip     = '';
        $this->where    = array();
        $this->orderby  = array();
        $this->data         = array();
    }
253312
public function clear($sType = '')
    {
        if (empty($sType)) {

            $this->aMessages[$sType] = array();

        } else {

            $this->aMessages[$sType] = '';
        }
    }
982461
def clear_all():
    

    frame = inspect.currentframe().f_back
    try:
        if frame.f_globals.get('variables_order'):
            # we should avoid to declare symbols twice !
            del frame.f_globals['variables_order']
        if frame.f_globals.get('parameters_order'):
            # we should avoid to declare symbols twice !
            del frame.f_globals['parameters_order']
    finally:
        del frame
105219
def unset_variable(var, override=false)

      fexp, v = locate_set_var(var, override) || locate_var(var)

      fexp.un_set_variable(:unset, v, nil, (fexp.h.fei != h.fei)) if fexp
    end
1173306
function &get_template_vars($name=null)
	{
		if(!isset($name)) {
			return $this->_tpl_vars;
		} elseif(isset($this->_tpl_vars[$name])) {
			return $this->_tpl_vars[$name];
		} else {
			// var non-existant, return valid reference
			$_tmp = null;
			return $_tmp;
		}
	}
584566
public function clearVariable(string $name)
    {
        if ($this->immutable) {
            return;
        }

        putenv($name);
        unset($_ENV[$name]);
        unset($_SERVER[$name]);
    }
796461
private function set($var, $val) {
		$this->vars[$var] = $val;
		
		// We also need to set $var on each sub-template. So recursively do that
		foreach($this->forTemplates as $templateBunch)
			foreach($templateBunch as $sub)
				$sub->set($var, $val);

		foreach($this->ifTemplates as $templateBunch)
			foreach($templateBunch as $sub)
				$sub->set($var, $val);
		
		foreach($this->incTemplates as $sub)
			$sub->set($var, $val);
	}
837225
function reset()
    {
        $this->resetVariables();
        $this->resetElements();
        $this->IsCachingAllowed = true;

        $this->resetErrorLog();

        $this->TemplatesUsageStatistics = array();
        $this->TemplateFetchList = array();
    }
1147445
function unsetLocalVariables()
    {
        foreach ( $this->CurrentLocalVariablesNames as $ns => $vars )
        {
            foreach ( $vars as $var => $val )
                $this->unsetLocalVariable( $var, $ns );
        }
    }
789334
protected function removeFormObjectFromViewHelperVariableContainer()
    {
        if ($this->hasArgument('object')) {
            $this->viewHelperVariableContainer->remove(\TYPO3\Fluid\ViewHelpers\FormViewHelper::class, 'formObject');
            $this->viewHelperVariableContainer->remove(\TYPO3\Fluid\ViewHelpers\FormViewHelper::class, 'additionalIdentityProperties');
        }
    }
1341801
public function assign_to_var()
    {
        $var = sprintf('$_tmp%d', ++Smarty_Internal_Templateparser::$prefix_number);
        $this->parser->compiler->prefix_code[] = sprintf('<?php ob_start();?>%s<?php %s=ob_get_clean();?>', $this->data, $var);

        return $var;
    }
1223395
protected function removeFormObjectNameFromViewHelperVariableContainer()
    {
        $formObjectName = $this->getFormObjectName();
        if ($formObjectName !== null) {
            $this->viewHelperVariableContainer->remove(\TYPO3\Fluid\ViewHelpers\FormViewHelper::class, 'formObjectName');
        }
    }
1272833
public function setToTemplate($var, $val)
    {
        $args = func_get_args();
        array_shift($args);
        $this->templateFallback($var, $args, 'set');
        return $this;
    }
44529
def clear_redis(self, variable, clear_type):
        
        if variable is None:
            return
        if variable in self._clear_redis_tracker:
            return
        if not re.match(self._vars_match, variable):
            return
        self.log.info('[{}] Deleting redis variable: {}.'.format(clear_type, variable))
        print('Clearing Variables: {}{}{}'.format(c.Style.BRIGHT, c.Fore.MAGENTA, variable))
        self.tcex.playbook.delete(variable)
        self._clear_redis_tracker.append(variable)
165659
def ClearAllVar(self):
    """"""
    self.value = None
    # Call OnClearAllVar on options.
    _ = [option.OnClearAllVar() for option in self.options]
750969
void recomposeVariables(ElemVariable elemVar)
  {
    // Don't overide higher priority variable        
    if (getVariableOrParamComposed(elemVar.getName()) == null)
    {
      elemVar.setIsTopLevel(true);        // Mark as a top-level variable or param
      elemVar.setIndex(m_variables.size());
      m_variables.addElement(elemVar);
    }
  }