original_string: public function finishContainer(HTML_QuickForm2_Node $container)
      {
          array_pop($this->groupId);
  
          $cTpl  = str_replace(
              array('{attributes}', '{id}'),
              array($container->getAttributes(true), $container->getId()),
              $this->prepareTemplate($this->findTemplate($container, '{content}'), $container)
          );
          $cHtml  = array_pop($this->html);
          $break  = HTML_Common2::getOption('linebreak');
          $indent = str_repeat(HTML_Common2::getOption('indent'), count($this->html));
          $this->html[count($this->html) - 1][] = str_replace(
              '{content}', $break . $indent . implode($break . $indent, $cHtml), $cTpl
          );
      }
code: public function finishContainer(HTML_QuickForm2_Node $container)
      {
          array_pop($this->groupId);
  
          $cTpl  = str_replace(
              array('{attributes}', '{id}'),
              array($container->getAttributes(true), $container->getId()),
              $this->prepareTemplate($this->findTemplate($container, '{content}'), $container)
          );
          $cHtml  = array_pop($this->html);
          $break  = HTML_Common2::getOption('linebreak');
          $indent = str_repeat(HTML_Common2::getOption('indent'), count($this->html));
          $this->html[count($this->html) - 1][] = str_replace(
              '{content}', $break . $indent . implode($break . $indent, $cHtml), $cTpl
          );
      }
code_tokens: public function finishContainer ( HTML_QuickForm2_Node $ container ) { array_pop ( $ this -> groupId ) ; $ cTpl = str_replace ( array ( '{attributes}' , '{id}' ) , array ( $ container -> getAttributes ( true ) , $ container -> getId ( ) ) , $ this -> prepareTemplate ( $ this -> findTemplate ( $ container , '{content}' ) , $ container ) ) ; $ cHtml = array_pop ( $ this -> html ) ; $ break = HTML_Common2 :: getOption ( 'linebreak' ) ; $ indent = str_repeat ( HTML_Common2 :: getOption ( 'indent' ) , count ( $ this -> html ) ) ; $ this -> html [ count ( $ this -> html ) - 1 ] [ ] = str_replace ( '{content}' , $ break . $ indent . implode ( $ break . $ indent , $ cHtml ) , $ cTpl ) ; }
docstring: Finishes rendering a generic container, called after processing contained elements
  
  @param    HTML_QuickForm2_Node    Container being rendered
docstring_tokens: Finishes rendering a generic container called after processing contained elements