public function resetTemplateVariables()
    {
        $data = &$this->getDataPlaceHolder();
        
        foreach (array_keys($data) as $k) {
            if ($data[$k] instanceof TemplateVariable) {
                $data[$k]->applyDefaultValue();
            }
        }
    }
public function resetTemplateVariables()
    {
        $data = &$this->getDataPlaceHolder();
        
        foreach (array_keys($data) as $k) {
            if ($data[$k] instanceof TemplateVariable) {
                $data[$k]->applyDefaultValue();
            }
        }
    }
public function resetTemplateVariables ( ) { $ data = & $ this -> getDataPlaceHolder ( ) ; foreach ( array_keys ( $ data ) as $ k ) { if ( $ data [ $ k ] instanceof TemplateVariable ) { $ data [ $ k ] -> applyDefaultValue ( ) ; } } }
Reset all template variables to their defaults.

@return void
Reset all template variables to their defaults .