original_string: public function render()
      {
          $iniString   = '';
          $extends     = $this->_config->getExtends();
          $sectionName = $this->_config->getSectionName();
  
          if($this->_renderWithoutSections == true) {
              $iniString .= $this->_addBranch($this->_config);
          } else if (is_string($sectionName)) {
              $iniString .= '[' . $sectionName . ']' . "\n"
                         .  $this->_addBranch($this->_config)
                         .  "\n";
          } else {
              $config = $this->_sortRootElements($this->_config);
              foreach ($config as $sectionName => $data) {
                  if (!($data instanceof Zend_Config)) {
                      $iniString .= $sectionName
                                 .  ' = '
                                 .  $this->_prepareValue($data)
                                 .  "\n";
                  } else {
                      if (isset($extends[$sectionName])) {
                          $sectionName .= ' : ' . $extends[$sectionName];
                      }
  
                      $iniString .= '[' . $sectionName . ']' . "\n"
                                 .  $this->_addBranch($data)
                                 .  "\n";
                  }
              }
          }
  
          return $iniString;
      }
code: public function render()
      {
          $iniString   = '';
          $extends     = $this->_config->getExtends();
          $sectionName = $this->_config->getSectionName();
  
          if($this->_renderWithoutSections == true) {
              $iniString .= $this->_addBranch($this->_config);
          } else if (is_string($sectionName)) {
              $iniString .= '[' . $sectionName . ']' . "\n"
                         .  $this->_addBranch($this->_config)
                         .  "\n";
          } else {
              $config = $this->_sortRootElements($this->_config);
              foreach ($config as $sectionName => $data) {
                  if (!($data instanceof Zend_Config)) {
                      $iniString .= $sectionName
                                 .  ' = '
                                 .  $this->_prepareValue($data)
                                 .  "\n";
                  } else {
                      if (isset($extends[$sectionName])) {
                          $sectionName .= ' : ' . $extends[$sectionName];
                      }
  
                      $iniString .= '[' . $sectionName . ']' . "\n"
                                 .  $this->_addBranch($data)
                                 .  "\n";
                  }
              }
          }
  
          return $iniString;
      }
code_tokens: public function render ( ) { $ iniString = '' ; $ extends = $ this -> _config -> getExtends ( ) ; $ sectionName = $ this -> _config -> getSectionName ( ) ; if ( $ this -> _renderWithoutSections == true ) { $ iniString .= $ this -> _addBranch ( $ this -> _config ) ; } else if ( is_string ( $ sectionName ) ) { $ iniString .= '[' . $ sectionName . ']' . "\n" . $ this -> _addBranch ( $ this -> _config ) . "\n" ; } else { $ config = $ this -> _sortRootElements ( $ this -> _config ) ; foreach ( $ config as $ sectionName => $ data ) { if ( ! ( $ data instanceof Zend_Config ) ) { $ iniString .= $ sectionName . ' = ' . $ this -> _prepareValue ( $ data ) . "\n" ; } else { if ( isset ( $ extends [ $ sectionName ] ) ) { $ sectionName .= ' : ' . $ extends [ $ sectionName ] ; } $ iniString .= '[' . $ sectionName . ']' . "\n" . $ this -> _addBranch ( $ data ) . "\n" ; } } } return $ iniString ; }
docstring: Render a Zend_Config into a INI config string.
  
  @since 1.10
  @return string
docstring_tokens: Render a Zend_Config into a INI config string .